Index: boost/variant/multivisitors.hpp =================================================================== --- boost/variant/multivisitors.hpp (revision 86605) +++ boost/variant/multivisitors.hpp (working copy) @@ -1,4 +1,4 @@ -// Boost.Varaint +// Boost.Variant // Multivisitors defined here // // See http://www.boost.org for most recent version, including documentation. @@ -24,8 +24,8 @@ #include #include -#ifndef BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS -# define BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS 4 +#ifndef BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS +# define BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS 4 #endif namespace boost { @@ -77,7 +77,7 @@ } \ /**/ -BOOST_PP_REPEAT( BOOST_PP_SUB(BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS, 2), BOOST_VARIANT_VISIT, ~) +BOOST_PP_REPEAT( BOOST_PP_SUB(BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS, 2), BOOST_VARIANT_VISIT, ~) #undef BOOST_VARIANT_OPERATOR_BEG #undef BOOST_VARIANT_OPERATOR_END #undef BOOST_VARANT_VISITORS_VARIABLES_PRINTER @@ -129,8 +129,8 @@ } \ /**/ -BOOST_PP_REPEAT( BOOST_PP_SUB(BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS, 2), BOOST_VARIANT_VISIT, const Visitor& visitor) -BOOST_PP_REPEAT( BOOST_PP_SUB(BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS, 2), BOOST_VARIANT_VISIT, Visitor& visitor) +BOOST_PP_REPEAT( BOOST_PP_SUB(BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS, 2), BOOST_VARIANT_VISIT, const Visitor& visitor) +BOOST_PP_REPEAT( BOOST_PP_SUB(BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS, 2), BOOST_VARIANT_VISIT, Visitor& visitor) #undef BOOST_VARIANT_APPLY_VISITOR_BEG #undef BOOST_VARIANT_APPLY_VISITOR_END Index: libs/variant/doc/reference/apply_visitor.xml =================================================================== --- libs/variant/doc/reference/apply_visitor.xml (revision 86605) +++ libs/variant/doc/reference/apply_visitor.xml (working copy) @@ -237,7 +237,7 @@ function call operator of the given visitor on the content of the given variant operands. Maximum amount of parameters controlled by - BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS + BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS macro. Those functions are actually defined in . The overload accepting only a visitor returns a Index: libs/variant/doc/reference/multivisitor.xml =================================================================== --- libs/variant/doc/reference/multivisitor.xml (revision 86605) +++ libs/variant/doc/reference/multivisitor.xml (working copy) @@ -7,7 +7,7 @@ Provides declarations of apply_visitor for three or more variant parameters. - + Controls maximum amount of variant parameters for multi visistors. Index: libs/variant/test/variant_multivisit_test.cpp =================================================================== --- libs/variant/test/variant_multivisit_test.cpp (revision 86605) +++ libs/variant/test/variant_multivisit_test.cpp (working copy) @@ -11,7 +11,7 @@ // http://www.boost.org/LICENSE_1_0.txt) #include "boost/config.hpp" -#define BOOST_VARAINT_MAX_MULTIVIZITOR_PARAMS 5 +#define BOOST_VARIANT_MAX_MULTIVISITOR_PARAMS 5 #include "boost/variant/multivisitors.hpp" #include "boost/test/minimal.hpp"