mirror of
https://github.com/boostorg/typeof.git
synced 2025-05-09 23:14:01 +00:00
Fixed duplicate definition of boost::type_of::push_back when BOOST_TYPEOF_LIMIT_SIZE>50 and not a multiple of 50. (From Dave Jenkins)
[SVN r40540]
This commit is contained in:
parent
b06d94eb91
commit
6c09ce7883
@ -138,9 +138,12 @@ namespace boost { namespace type_of {
|
||||
|
||||
namespace boost { namespace type_of {
|
||||
|
||||
# if BOOST_TYPEOF_LIMIT_SIZE < 50
|
||||
template<class V, class T> struct push_back {
|
||||
typedef V type;
|
||||
}; //default behaviour is to let push_back ignore T, and return the input vector.
|
||||
};
|
||||
# endif
|
||||
//default behaviour is to let push_back ignore T, and return the input vector.
|
||||
//This is to let BOOST_TYPEOF_NESTED_TYPEDEF work properly with the default vector.
|
||||
# define BOOST_PP_LOCAL_MACRO BOOST_TYPEOF_spec_push_back
|
||||
# define BOOST_PP_LOCAL_LIMITS \
|
||||
|
Loading…
x
Reference in New Issue
Block a user