Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68666 - trunk/libs/ratio/example
From: vicente.botet_at_[hidden]
Date: 2011-02-06 06:44:23


Author: viboes
Date: 2011-02-06 06:44:20 EST (Sun, 06 Feb 2011)
New Revision: 68666
URL: http://svn.boost.org/trac/boost/changeset/68666

Log:
Ratio: Remove error: ambiguous reference to std ratio interface

Text files modified:
   trunk/libs/ratio/example/display_ex.cpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/libs/ratio/example/display_ex.cpp
==============================================================================
--- trunk/libs/ratio/example/display_ex.cpp (original)
+++ trunk/libs/ratio/example/display_ex.cpp 2011-02-06 06:44:20 EST (Sun, 06 Feb 2011)
@@ -20,19 +20,19 @@
     using namespace boost;
 
     cout << "ratio_string<deca, char>::long_name() = "
- << ratio_string<deca, char>::long_name() << '\n';
+ << ratio_string<boost::deca, char>::long_name() << '\n';
     cout << "ratio_string<deca, char>::short_name() = "
- << ratio_string<deca, char>::short_name() << '\n';
+ << ratio_string<boost::deca, char>::short_name() << '\n';
 
     cout << "ratio_string<giga, char>::long_name() = "
- << ratio_string<giga, char>::long_name() << '\n';
+ << ratio_string<boost::giga, char>::long_name() << '\n';
     cout << "ratio_string<giga, char>::short_name() = "
- << ratio_string<giga, char>::short_name() << '\n';
+ << ratio_string<boost::giga, char>::short_name() << '\n';
 
     cout << "ratio_string<ratio<4, 6>, char>::long_name() = "
- << ratio_string<ratio<4, 6>, char>::long_name() << '\n';
+ << ratio_string<boost::ratio<4, 6>, char>::long_name() << '\n';
     cout << "ratio_string<ratio<4, 6>, char>::short_name() = "
- << ratio_string<ratio<4, 6>, char>::short_name() << '\n';
+ << ratio_string<boost::ratio<4, 6>, char>::short_name() << '\n';
         
     return 0;
 }


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