Fusion: BOOST_FUSION_ADAPT_ADT documentation

[SVN r65756]
This commit is contained in:
Christopher Schmidt
2010-10-04 20:50:31 +00:00
parent 21d676dd87
commit b761e0e0c0
250 changed files with 1968 additions and 1404 deletions

View File

@ -25,7 +25,7 @@
#define BOOST_FUSION_ADAPT_ADT_GET_IDENTITY_NON_TEMPLATE_IMPL( \
TEMPLATE_PARAMS_SEQ) \
\
remove_const<remove_reference<T>::type>::type
remove_const<remove_reference<lvalue>::type>::type
#define BOOST_FUSION_ADAPT_ADT_C_BASE( \
TEMPLATE_PARAMS_SEQ,NAME_SEQ,I,ATTRIBUTE,ATTRIBUTE_TUPEL_SIZE) \
@ -75,8 +75,8 @@
\
explicit \
adt_attribute_proxy( \
BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ) const*const o) \
: obj(o) \
BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ) const& o) \
: obj(&o) \
{} \
\
type get() const \
@ -108,8 +108,8 @@
\
explicit \
adt_attribute_proxy( \
BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ)*const o) \
: obj(o) \
BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME(NAME_SEQ)& o) \
: obj(&o) \
{} \
\
template<class Arg> \
@ -173,7 +173,7 @@
static type \
call(Seq& obj) \
{ \
return type(&obj); \
return type(obj); \
} \
}; \
};