From 5cde13f21d36c7224b0e13d11c4b49379ae5210d Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 6 Oct 2016 10:38:45 +0900 Subject: Imported Upstream version 1.61.0 Change-Id: I96a1f878d1e6164f01e9aadd5147f38fca448d90 Signed-off-by: DongHun Kwak --- doc/html/BOOST_INTRUSIVE_OPTION_TYPE.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/html/BOOST_INTRUSIVE_OPTION_TYPE.html') diff --git a/doc/html/BOOST_INTRUSIVE_OPTION_TYPE.html b/doc/html/BOOST_INTRUSIVE_OPTION_TYPE.html index ec556b7425..10a4cfe964 100644 --- a/doc/html/BOOST_INTRUSIVE_OPTION_TYPE.html +++ b/doc/html/BOOST_INTRUSIVE_OPTION_TYPE.html @@ -4,7 +4,7 @@ Macro BOOST_INTRUSIVE_OPTION_TYPE - + @@ -34,25 +34,25 @@ BOOST_INTRUSIVE_OPTION_TYPE(OPTION_NAME, TYPE, TYPEDEF_EXPR, TYPEDEF_NAME)
-

Description

+

Description

Defines an option class of name OPTION_NAME that can be used to specify a type of type TYPE...

-
struct OPTION_NAME<class TYPE>
-{  unspecified_content  };
+
 struct OPTION_NAME<class TYPE>
+ {  unspecified_content  };
 

...that after being combined with boost::intrusive::pack_options, will typedef TYPE as a typedef of name TYPEDEF_NAME. Example:

-
//[includes and namespaces omitted for brevity]
+
   //[includes and namespaces omitted for brevity]
 
-//This macro will create the following class:
-//    template<class VoidPointer>
-//    struct my_pointer
-//    { unspecified_content };
-BOOST_INTRUSIVE_OPTION_TYPE(my_pointer, VoidPointer, boost::remove_pointer<VoidPointer>::type, my_pointer_type)
+   //This macro will create the following class:
+   //    template<class VoidPointer>
+   //    struct my_pointer
+   //    { unspecified_content };
+   BOOST_INTRUSIVE_OPTION_TYPE(my_pointer, VoidPointer, boost::remove_pointer<VoidPointer>::type, my_pointer_type)
 
-struct empty_default{};
+   struct empty_default{};
 
-typedef pack_options< empty_default, typename my_pointer<void*> >::type::my_pointer_type type;
+   typedef pack_options< empty_default, typename my_pointer<void*> >::type::my_pointer_type type;
 
-BOOST_STATIC_ASSERT(( boost::is_same<type, void>::value ));
+   BOOST_STATIC_ASSERT(( boost::is_same<type, void>::value ));
 

-- cgit v1.2.3