|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72529 - in sandbox/assign_v2/libs/assign/v2/test: deque put
From: erwann.rogard_at_[hidden]
Date: 2011-06-09 18:40:30
Author: e_r
Date: 2011-06-09 18:40:30 EDT (Thu, 09 Jun 2011)
New Revision: 72529
URL: http://svn.boost.org/trac/boost/changeset/72529
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/libs/assign/v2/test/deque/csv_deque_ext.cpp | 5 ++++-
sandbox/assign_v2/libs/assign/v2/test/put/csv_put_ext.cpp | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
Modified: sandbox/assign_v2/libs/assign/v2/test/deque/csv_deque_ext.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/deque/csv_deque_ext.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/deque/csv_deque_ext.cpp 2011-06-09 18:40:30 EDT (Thu, 09 Jun 2011)
@@ -36,8 +36,11 @@
//->
{
+ // Not Assignable (Container requirement) but GCC takes it:
+ // typedef const char state_ [3];
//[test_csv_deque_ext1
- typedef const char state_ [3]; typedef int code_;
+ typedef std::string state_;
+ typedef int code_;
state_ ct = "CT", nj = "NJ", ny = "NY";
typedef tuple<state_/*<<Notice the reference>>*/&, code_> data_;
Modified: sandbox/assign_v2/libs/assign/v2/test/put/csv_put_ext.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/csv_put_ext.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/csv_put_ext.cpp 2011-06-09 18:40:30 EDT (Thu, 09 Jun 2011)
@@ -61,8 +61,11 @@
//]
}
{
+ // Not Assignable (Container requirement) but GCC takes it:
+ //typedef const char state_ [3];
//[test_csv_put_ext2
- typedef const char state_ [3]; typedef int code_;
+ typedef int code_;
+ typedef std::string state_;
state_ ct = "CT", nj = "NJ", ny = "NY";
//<-
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