]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/type_index/examples/constexpr14_namespace_check.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / type_index / examples / constexpr14_namespace_check.cpp
index 0752e08074dd4f8dc1dcec884967ff9cdba453f2..98a5e40fff9e6ba9e41b11cdaed057657286b0f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2013-2016 Antony Polukhin
+// Copyright 2013-2017 Antony Polukhin
 
 // Distributed under the Boost Software License, Version 1.0.
 // (See the accompanying file LICENSE_1_0.txt
@@ -6,6 +6,10 @@
 
 #include <boost/config.hpp>
 
+template <class T>
+void do_something(const T&) {}
+
+
 #if !defined(BOOST_NO_CXX14_CONSTEXPR) && !defined(BOOST_NO_CXX11_CONSTEXPR)
 // Implementation of this function is not essential for the example
 template <std::size_t N>
@@ -62,6 +66,7 @@ namespace my_project {
 
             // Actual implementation of the serialization goes below
             // ...
+            do_something(value);
         }
     };