summaryrefslogtreecommitdiff
path: root/libs/interprocess/test/movable_int.hpp
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-08-26 08:15:55 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-08-26 08:15:55 -0400
commitbb4dd8289b351fae6b55e303f189127a394a1edd (patch)
tree77c9c35a31b1459dd7988c2448e797d142530c41 /libs/interprocess/test/movable_int.hpp
parent1a78a62555be32868418fe52f8e330c9d0f95d5a (diff)
downloadboost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.gz
boost-bb4dd8289b351fae6b55e303f189127a394a1edd.tar.bz2
boost-bb4dd8289b351fae6b55e303f189127a394a1edd.zip
Imported Upstream version 1.51.0upstream/1.51.0
Diffstat (limited to 'libs/interprocess/test/movable_int.hpp')
-rw-r--r--libs/interprocess/test/movable_int.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/interprocess/test/movable_int.hpp b/libs/interprocess/test/movable_int.hpp
index 8abc209d41..528600efc0 100644
--- a/libs/interprocess/test/movable_int.hpp
+++ b/libs/interprocess/test/movable_int.hpp
@@ -68,8 +68,8 @@ class movable_int
int m_int;
};
-template<class E, class T>
-std::basic_ostream<E, T> & operator<<
+template<class E, class T>
+std::basic_ostream<E, T> & operator<<
(std::basic_ostream<E, T> & os, movable_int const & p)
{
@@ -93,7 +93,7 @@ class movable_and_copyable_int
movable_and_copyable_int(const movable_and_copyable_int& mmi)
: m_int(mmi.m_int)
{}
-
+
movable_and_copyable_int &operator= (BOOST_COPY_ASSIGN_REF(movable_and_copyable_int) mi)
{ this->m_int = mi.m_int; return *this; }
@@ -132,8 +132,8 @@ class movable_and_copyable_int
int m_int;
};
-template<class E, class T>
-std::basic_ostream<E, T> & operator<<
+template<class E, class T>
+std::basic_ostream<E, T> & operator<<
(std::basic_ostream<E, T> & os, movable_and_copyable_int const & p)
{
@@ -155,7 +155,7 @@ class copyable_int
copyable_int(const copyable_int& mmi)
: m_int(mmi.m_int)
{}
-
+
copyable_int & operator= (const copyable_int &mi)
{ this->m_int = mi.m_int; return *this; }
@@ -226,8 +226,8 @@ class non_copymovable_int
int m_int;
};
-template<class E, class T>
-std::basic_ostream<E, T> & operator<<
+template<class E, class T>
+std::basic_ostream<E, T> & operator<<
(std::basic_ostream<E, T> & os, copyable_int const & p)
{