mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-12 13:51:46 +00:00
added blanks to prevent buggy preprocessors from parsing two '>'s as a '>>'
[SVN r33225]
This commit is contained in:
parent
db3889ceff
commit
c21722cd10
@ -1,4 +1,4 @@
|
|||||||
/* Copyright 2003-2005 Joaquín M López Muñoz.
|
/* Copyright 2003-2006 Joaquín M López Muñoz.
|
||||||
* Distributed under the Boost Software License, Version 1.0.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@ -201,17 +201,17 @@ struct mem_fun_explicit
|
|||||||
|
|
||||||
#define BOOST_MULTI_INDEX_CONST_MEM_FUN(Class,Type,MemberFunName) \
|
#define BOOST_MULTI_INDEX_CONST_MEM_FUN(Class,Type,MemberFunName) \
|
||||||
::boost::multi_index::const_mem_fun_explicit<\
|
::boost::multi_index::const_mem_fun_explicit<\
|
||||||
Class,Type,Type (Class::*)()const,&Class::MemberFunName>
|
Class,Type,Type (Class::*)()const,&Class::MemberFunName >
|
||||||
#define BOOST_MULTI_INDEX_MEM_FUN(Class,Type,MemberFunName) \
|
#define BOOST_MULTI_INDEX_MEM_FUN(Class,Type,MemberFunName) \
|
||||||
::boost::multi_index::mem_fun_explicit<\
|
::boost::multi_index::mem_fun_explicit<\
|
||||||
Class,Type,Type (Class::*)(),&Class::MemberFunName>
|
Class,Type,Type (Class::*)(),&Class::MemberFunName >
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define BOOST_MULTI_INDEX_CONST_MEM_FUN(Class,Type,MemberFunName) \
|
#define BOOST_MULTI_INDEX_CONST_MEM_FUN(Class,Type,MemberFunName) \
|
||||||
::boost::multi_index::const_mem_fun<Class,Type,&Class::MemberFunName>
|
::boost::multi_index::const_mem_fun< Class,Type,&Class::MemberFunName >
|
||||||
#define BOOST_MULTI_INDEX_MEM_FUN(Class,Type,MemberFunName) \
|
#define BOOST_MULTI_INDEX_MEM_FUN(Class,Type,MemberFunName) \
|
||||||
::boost::multi_index::mem_fun<Class,Type,&Class::MemberFunName>
|
::boost::multi_index::mem_fun< Class,Type,&Class::MemberFunName >
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright 2003-2005 Joaquín M López Muñoz.
|
/* Copyright 2003-2006 Joaquín M López Muñoz.
|
||||||
* Distributed under the Boost Software License, Version 1.0.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@ -256,10 +256,10 @@ struct member_offset:
|
|||||||
|
|
||||||
#if defined(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS)
|
#if defined(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS)
|
||||||
#define BOOST_MULTI_INDEX_MEMBER(Class,Type,MemberName) \
|
#define BOOST_MULTI_INDEX_MEMBER(Class,Type,MemberName) \
|
||||||
::boost::multi_index::member_offset<Class,Type,offsetof(Class,MemberName)>
|
::boost::multi_index::member_offset< Class,Type,offsetof(Class,MemberName) >
|
||||||
#else
|
#else
|
||||||
#define BOOST_MULTI_INDEX_MEMBER(Class,Type,MemberName) \
|
#define BOOST_MULTI_INDEX_MEMBER(Class,Type,MemberName) \
|
||||||
::boost::multi_index::member<Class,Type,&Class::MemberName>
|
::boost::multi_index::member< Class,Type,&Class::MemberName >
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} /* namespace multi_index */
|
} /* namespace multi_index */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user