|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72304 - sandbox/conversion/libs/conversion_ext/test
From: vicente.botet_at_[hidden]
Date: 2011-05-31 08:30:07
Author: viboes
Date: 2011-05-31 08:30:06 EDT (Tue, 31 May 2011)
New Revision: 72304
URL: http://svn.boost.org/trac/boost/changeset/72304
Log:
Conversion:: Moved mca to conversion namespace
Text files modified:
sandbox/conversion/libs/conversion_ext/test/builtins.cpp | 72 ++++++++++++++++++++--------------------
sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp | 6 +-
sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp | 6 +-
3 files changed, 42 insertions(+), 42 deletions(-)
Modified: sandbox/conversion/libs/conversion_ext/test/builtins.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/builtins.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/builtins.cpp 2011-05-31 08:30:06 EDT (Tue, 31 May 2011)
@@ -133,41 +133,41 @@
unsigned int ui(i);
unsigned long ul(l);
- boost::mca(c) = c;
- boost::mca(c) = s;
- boost::mca(c) = i;
- boost::mca(c) = l;
- boost::mca(c) = uc;
- boost::mca(c) = us;
- boost::mca(c) = ui;
- boost::mca(c) = ul;
-
- boost::mca(s) = c;
- boost::mca(s) = s;
- boost::mca(s) = i;
- boost::mca(s) = l;
- boost::mca(s) = uc;
- boost::mca(s) = us;
- boost::mca(s) = ui;
- boost::mca(s) = ul;
-
- boost::mca(i) = c;
- boost::mca(i) = s;
- boost::mca(i) = i;
- boost::mca(i) = l;
- boost::mca(i) = uc;
- boost::mca(i) = us;
- boost::mca(i) = ui;
- boost::mca(i) = ul;
-
- boost::mca(l) = c;
- boost::mca(l) = s;
- boost::mca(l) = i;
- boost::mca(l) = l;
- boost::mca(l) = uc;
- boost::mca(l) = us;
- boost::mca(l) = ui;
- boost::mca(l) = ul;
+ boost::conversion::mca(c) = c;
+ boost::conversion::mca(c) = s;
+ boost::conversion::mca(c) = i;
+ boost::conversion::mca(c) = l;
+ boost::conversion::mca(c) = uc;
+ boost::conversion::mca(c) = us;
+ boost::conversion::mca(c) = ui;
+ boost::conversion::mca(c) = ul;
+
+ boost::conversion::mca(s) = c;
+ boost::conversion::mca(s) = s;
+ boost::conversion::mca(s) = i;
+ boost::conversion::mca(s) = l;
+ boost::conversion::mca(s) = uc;
+ boost::conversion::mca(s) = us;
+ boost::conversion::mca(s) = ui;
+ boost::conversion::mca(s) = ul;
+
+ boost::conversion::mca(i) = c;
+ boost::conversion::mca(i) = s;
+ boost::conversion::mca(i) = i;
+ boost::conversion::mca(i) = l;
+ boost::conversion::mca(i) = uc;
+ boost::conversion::mca(i) = us;
+ boost::conversion::mca(i) = ui;
+ boost::conversion::mca(i) = ul;
+
+ boost::conversion::mca(l) = c;
+ boost::conversion::mca(l) = s;
+ boost::conversion::mca(l) = i;
+ boost::conversion::mca(l) = l;
+ boost::conversion::mca(l) = uc;
+ boost::conversion::mca(l) = us;
+ boost::conversion::mca(l) = ui;
+ boost::conversion::mca(l) = ul;
}
@@ -183,7 +183,7 @@
{
int a=0; int b=0; int c=0;
- boost::mca(a) = boost::mca(b) = boost::mca(c) = 1;
+ boost::conversion::mca(a) = boost::conversion::mca(b) = boost::conversion::mca(c) = 1;
}
}
Modified: sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/extrinsec.cpp 2011-05-31 08:30:06 EDT (Tue, 31 May 2011)
@@ -46,7 +46,7 @@
B b;
A a;
boost::conversion::assign_to(a, b);
- boost::mca(a)= b;
+ boost::conversion::mca(a)= b;
}
void explicit_chain_assign_to() {
@@ -54,12 +54,12 @@
B b;
A a;
boost::conversion::assign_to(a, boost::conversion::assign_to(b,c));
- boost::mca(a)= boost::mca(b) = c;
+ boost::conversion::mca(a)= boost::conversion::mca(b) = c;
}
void implicit_conversion_via_mca() {
C c;
- f(mca(c));
+ f(boost::conversion::mca(c));
}
int main( )
{
Modified: sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp
==============================================================================
--- sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp (original)
+++ sandbox/conversion/libs/conversion_ext/test/intrinsec.cpp 2011-05-31 08:30:06 EDT (Tue, 31 May 2011)
@@ -87,7 +87,7 @@
void mca_with_assignemet_operator() {
A a(0);
AA aa(0);
- boost::mca(aa) =a;
+ boost::conversion::mca(aa) =a;
}
void assign_to_with_assignemet_operator_and_implicit_constructor() {
@@ -105,7 +105,7 @@
void mca_with_assignemet_operator_and_implicit_constructor() {
B b;
AA aa(1);
- boost::mca(aa)=b;
+ boost::conversion::mca(aa)=b;
}
void assign_to_with_assignemet_operator_and_conversion_operator() {
@@ -124,7 +124,7 @@
void mca_with_assignemet_operator_and_conversion_operator() {
C c;
CC cc(1);
- boost::mca(cc)=c;
+ boost::conversion::mca(cc)=c;
}
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