boost-mpl
boost-mpl comparing iterators
Gosh, when working with mpl libraries, figuring out syntax is a hit-and-miss exeri开发者_StackOverflowence (previous question ). What is the correct syntax to compare two mpl itterators -i.e., the it[详细]
2023-03-06 14:19 分类:问答boost::mpl::vector - getting to a type's base-offset
Is it possible to get at the offset of a mpl::vector after performing a mp开发者_Python百科l::find<seq,type> on it ?[详细]
2023-03-06 13:49 分类:问答c++ compile-time string concatenation using boost-mpl
I\'m trying to concatenate strings at compile-time using boost-mpl but am getting errors from gcc. Here\'s the sample -[详细]
2023-03-06 09:43 分类:问答How to get a type relative to a runtime index?
Let\'s say I have a boost::mpl::list< A, B, C ...>. How do I access one of those typ开发者_运维技巧es given an index value at runtime? Is it even possible?http://www.boost.org/doc/libs/release/[详细]
2023-03-05 13:57 分类:问答Creating all template permutations with MPL
I have the following templated class structure struct TraitA{}; struct TraitB{}; template<typename trait>[详细]
2023-03-04 14:18 分类:问答loop through a mpl::map
what is the simple way to loop through a mpl::map? typedef mpl::string<\'Curr\'> key1; typedef mpl::string<\'Brid\'> key2;[详细]
2023-02-28 18:47 分类:问答Problem with BOOST_MPL_ASSERT
Compiles f开发者_如何学Pythonine with gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)/ boost 1.33.1[详细]
2023-02-24 07:39 分类:问答How to enable a constructor with mpl techniques
I am little stuck with boost::enable_if and how to make a constructor switch with it. The code is this:[详细]
2023-02-20 16:30 分类:问答Composing a set of container classes and accessing them from a base
I\'m trying to use boost::mpl::inherit_linearly to compose a container class using types provided by the user:[详细]
2023-02-17 03:21 分类:问答Loosely coupled implicit conversion
Implicit conversion can be really useful when types are semantically equivalent. For example, imagine two libraries that implement a type identically, but in different namespaces. Or just a type that[详细]
2023-02-04 05:03 分类:问答