Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50065 - in sandbox/mirror: boost/mirror/detail boost/mirror/meta_types/boost/mpl doc/html/mirror/non_boost_book/concepts
From: chochlik_at_[hidden]
Date: 2008-12-02 05:21:15


Author: matus.chochlik
Date: 2008-12-02 05:21:15 EST (Tue, 02 Dec 2008)
New Revision: 50065
URL: http://svn.boost.org/trac/boost/changeset/50065

Log:
[mirror 0.3.x]
- bug fixes
- minor doc update

Text files modified:
   sandbox/mirror/boost/mirror/detail/argument_type_list.hpp | 5 ++++-
   sandbox/mirror/boost/mirror/meta_types/boost/mpl/int.hpp | 2 +-
   sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml | 11 ++++++-----
   3 files changed, 11 insertions(+), 7 deletions(-)

Modified: sandbox/mirror/boost/mirror/detail/argument_type_list.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/detail/argument_type_list.hpp (original)
+++ sandbox/mirror/boost/mirror/detail/argument_type_list.hpp 2008-12-02 05:21:15 EST (Tue, 02 Dec 2008)
@@ -40,6 +40,9 @@
>::type type;
 };
 
+template <int I>
+struct integer_template_param_placeholder { };
+
 /** Helper class implementing a function that can be used
  * to append the list of type names to the given string.
  */
@@ -59,7 +62,7 @@
                 typedef type_name_decorator_literals<CharT> lits;
         public:
                 template <int I>
- inline void operator()(::boost::mpl::identity< ::boost::mpl::int_<I> >)
+ inline void operator()(::boost::mpl::identity< integer_template_param_placeholder<I> >)
                 {
                         static ::std::basic_string<CharT> comma(lits::get(lits::comma()));
                         //TODO: list.append();

Modified: sandbox/mirror/boost/mirror/meta_types/boost/mpl/int.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/meta_types/boost/mpl/int.hpp (original)
+++ sandbox/mirror/boost/mirror/meta_types/boost/mpl/int.hpp 2008-12-02 05:21:15 EST (Tue, 02 Dec 2008)
@@ -34,7 +34,7 @@
 : detail::static_template_name<
         BOOST_MIRRORED_NAMESPACE(::boost::mpl_),
         detail::meta_type_boost_mpl_int_ ,
- mpl::vector1< ::boost::mpl::int_<I> >
+ mpl::vector1< detail::integer_template_param_placeholder<I> >
>
 {
         typedef ::boost::mpl::int_<I> reflected_type;

Modified: sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml
==============================================================================
--- sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml (original)
+++ sandbox/mirror/doc/html/mirror/non_boost_book/concepts/ontology.xml 2008-12-02 05:21:15 EST (Tue, 02 Dec 2008)
@@ -580,9 +580,13 @@
                 <member_typedef concept="MetaClassAttributes" name="container">
                         <desc>The sequence of MetaClassAttribute(s) that this MetaClassAttribute belongs to.</desc>
                 </member_typedef>
- <member_typedef concept="MetaType" name="type">
- <desc>The MetaType reflecting the type of the attribute.</desc>
+ <member_typedef concept="MetaClass" name="type">
+ <desc>The MetaClass reflecting the type of the attribute.</desc>
                 </member_typedef>
+ <member_typedef concept="MetaClassAttributeTraits" name="traits">
+ <desc>Additional properties of the attribute.</desc>
+ </member_typedef>
+
                 <member_function concept="Type" name="get">
                         <desc>Generic attribute value getter. Returns the value of the reflected class attribute when given an instance of the class that the attribute belongs to.</desc>
                         <fn_param concept="Class" name="instance"/>
@@ -630,9 +634,6 @@
                 <member_typedef concept="MplBooleanIntegralConstant" name="is_mutable">
                         <desc>Type that indicates whether the class member attribute is mutable.</desc>
                 </member_typedef>
- <member_typedef concept="TypedefOrTypeSelector" name="meta_type_selector">
- <desc>A type that can be reflected to obtain the proper MetaType for the attribute's type. This selector allows to distinguish typedefined types.</desc>
- </member_typedef>
         </concept>
 
         <!-- MetaClassAttributeTraits is MetaObject -->


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk