Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48852 - sandbox/committee/concepts/stdlib
From: mmarcus_at_[hidden]
Date: 2008-09-18 04:01:07


Author: mmarcus
Date: 2008-09-18 04:01:06 EDT (Thu, 18 Sep 2008)
New Revision: 48852
URL: http://svn.boost.org/trac/boost/changeset/48852

Log:
fix TriviallyX to use correct type traits
Text files modified:
   sandbox/committee/concepts/stdlib/clib-concepts.tex | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/committee/concepts/stdlib/clib-concepts.tex
==============================================================================
--- sandbox/committee/concepts/stdlib/clib-concepts.tex (original)
+++ sandbox/committee/concepts/stdlib/clib-concepts.tex 2008-09-18 04:01:06 EDT (Thu, 18 Sep 2008)
@@ -1448,7 +1448,7 @@
 
 template <EqualityComparable T>
 concept_map TriviallyEqualityComparable<T>
-requires Trait<is_trivial, T>
+requires Trait<has_trivial_compare, T>
 { }
 
 \end{itemdecl}
@@ -1553,7 +1553,7 @@
 
 template <DefaultConstructible T>
 concept_map TriviallyDefaultConstructible<T>
-requires Trait<is_trivial, T>
+requires Trait<has_trivial_default_constructor, T>
 { }
 \end{itemdecl}
 
@@ -1603,7 +1603,7 @@
 
 template <NoThrowDestructible T>
 concept_map TriviallyDestructible<T>
-requires Trait<is_trivial, T>
+requires Trait<has_trivial_destructor, T>
 { }
 \end{itemdecl}
 
@@ -1660,7 +1660,7 @@
 
 template <CopyConstructible T>
 concept_map TriviallyCopyConstructible<T>
-requires Trait<is_trivial, T>
+requires Trait<has_trivial_copy_constructor, T>
 { }
 \end{itemdecl}
 
@@ -1722,7 +1722,7 @@
 
 template <CopyAssignable T>
 concept_map TriviallyCopyAssignable<T>
-requires Trait<is_trivial, T>
+requires Trait<has_trivial_assign, T>
 { }
 \end{itemdecl}
 


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