boost-mpl
I need the boost::mpl implementation of exp() function
Does anybody know where can I find it? Otherwise I\'ll have to开发者_如何转开发 write it by myself.[详细]
2023-02-03 06:50 分类:问答mpl style copy_if meta-function for variadic template vector
I\'ve a meta-program that works fine with the regular boost mpl. It looks more like the following. template <class Vector, class ResultKind, class Custom>[详细]
2023-02-01 19:07 分类:问答Applying a boost::mpl::list to the template parameter of a type
I have a class that requires a boost::variant containing shared pointers to various types as follows:[详细]
2023-01-31 17:49 分类:问答C++ - mapping type to enum
Is is possible to make compilation-time Type -> Enum Series mapping? Illustrating with an example: Let\'s say, I have some Type and a enumerated value:[详细]
2023-01-19 12:04 分类:问答C++ boost variant question
I know that boost::variant uses boost::mpl stuff behind it and has a mpl-compatible typedef types. Let\'s say I have a simple typedef: typedef boost::variant<bool, int> Variant;[详细]
2023-01-18 00:22 分类:问答Combination of types using boost::mpl
I have a list of types, from which I want to construct the list of all combinations with two elements. For example:[详细]
2023-01-08 21:01 分类:问答What's the best way to have a variable number of template parameters?
Please consider this -probably poorly written- example : class Command; class Command : publicboost::enable_shared_from_this<Command>[详细]
2023-01-05 01:21 分类:问答How to apply an mpl::transform to an mpl::string?
I\'m trying to apply a transformation to an mpl::string, but can\'t get it to compile. I\'m using MS VC++2010 and Boost 1.43.0. The code:[详细]
2023-01-02 22:52 分类:问答subversion version number question
I am using SVN, Visu开发者_如何学编程al Studio, and VisualSVN plugin for VS. Is it possible to set things up where each item under control, say a file, will have its own sequential version number, whi[详细]
2022-12-21 11:17 分类:问答Templating off of an arbitirary-length list of types in C++
Here\'s what I want to be able to type: class foo : public watchKeys<A, B, C> {}; //Or any list of keys[详细]
2022-12-20 22:02 分类:问答