Ticket #8589: fix_tti_typo.patch
| File fix_tti_typo.patch, 4.3 KB (added by , 9 years ago) |
|---|
-
boost/tti/has_template.hpp
32 32 /** 33 33 34 34 trait = the name of the metafunction. 35 ... = variadic param aters.35 ... = variadic parameters. 36 36 37 37 The first variadic parameter is the inner class template name. 38 38 … … 124 124 /// Expands to a metafunction which tests whether an inner class template with a particular name exists. 125 125 /** 126 126 127 ... = variadic param aters.127 ... = variadic parameters. 128 128 129 129 The first variadic parameter is the inner class template name. 130 130 -
libs/tti/doc/tti_nested_type.qbk
169 169 170 170 class T = a metafunction type 171 171 172 returns = true if the return 'type' of the me atfunction exists,172 returns = true if the return 'type' of the metafunction exists, 173 173 false if it does not.'Existence' is determined by whether 174 174 the return 'type' does not equal the marker type of 175 175 BOOST_TTI_MEMBER_TYPE. -
libs/tti/doc/tti_functionality.qbk
150 150 151 151 # 'has_member_function_AMemberFunction<CType,int,boost::mpl::vector<int> >::value' is a 152 152 compile time constant telling us whether 'AMemberFunction' is a member function of type 'CType' 153 whose function sign taure is 'int (int)'.153 whose function signature is 'int (int)'. 154 154 155 155 # 'has_member_function_AMemberFunction<CType,double,boost::mpl::vector<long> >::value' is a 156 156 compile time constant telling us whether 'AMemberFunction' is a member function of type 'CType' 157 whose function sign taure is 'double (long)'.157 whose function signature is 'double (long)'. 158 158 159 159 These are just two examples of the ways a particular macro metafunction can be reused. The two 160 160 'constants' when generating a macro metafunction are the 'name' and 'type of inner element'. Once … … 193 193 if the metafunction being generated by TTI is named 'MyMetafunction' using the complex 194 194 macro form, do not create any C++ construct with an identifier starting with 'MyMetaFunction', 195 195 such as 'MyMetaFunction_Enumeration' or 'MyMetaFunctionHelper' in the same scope. 196 All names starting wi h the metafunction name in the current scope should be considered196 All names starting with the metafunction name in the current scope should be considered 197 197 out of bounds for the programmer using TTI. 198 198 199 199 [endsect] -
libs/tti/doc/tti_detail_has_template_check_params.qbk
100 100 [macroref BOOST_TTI_VM_HAS_TEMPLATE_CHECK_PARAMS]. In this form 101 101 the first parameter is still the name of an inner class template 102 102 whose existence the programmer wants to check. Subsequent parameters 103 are the t he template parameters of the inner class template to check,103 are the template parameters of the inner class template to check, 104 104 each as an individual macro parameter. The macro generates a 105 105 metafunction with the same name as the non-variadic macro form, 106 106 namely 'has_template_check_params_'name_of_inner_class_template'. -
libs/tti/doc/tti_detail_has_member_data.qbk
44 44 [heading Invoking the metafunction] 45 45 46 46 You invoke the metafunction by instantiating the template with an enclosing 47 type to introspect and the type of the member data, or by instant ating the47 type to introspect and the type of the member data, or by instantiating the 48 48 template with a pointer to member data type. The return value called 'value' 49 49 is a compile time bool constant telling you whether or not the member data . 50 50 exists.
