forked from boostorg/config
Rename a bunch of C++11 configuration macros to include 'CXX11' in the name; preserve old macro names for compatibility, but mark them as deprecated. No functionality change intended
[SVN r79400]
This commit is contained in:
1 parent
44e8ed4c2f
commit
20b319483f
113 files changed
+1475
-821
No files matched your search
@@ -73,7 +73,7 @@ bool BOOST_CONFIG_DECL check_options(
|
||||
# include <boost/config/auto_link.hpp>
|
||||
#endif
|
||||
|
||||
#ifndef BOOST_NO_EXTERN_TEMPLATE
|
||||
#ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE
|
||||
|
||||
template <class T>
|
||||
T test_free_proc(T v)
|
||||
@@ -101,7 +101,7 @@ extern template BOOST_SYMBOL_IMPORT int test_free_proc<int>(int);
|
||||
extern template BOOST_SYMBOL_IMPORT int tester<int>::test();
|
||||
#endif
|
||||
|
||||
#endif // BOOST_NO_EXTERN_TEMPLATE
|
||||
#endif // BOOST_NO_CXX11_EXTERN_TEMPLATE
|
||||
|
||||
#endif // BOOST_LINK_TEST_HPP
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifndef BOOST_NO_EXTERN_TEMPLATE
|
||||
#ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE
|
||||
test_free_proc<int>(0);
|
||||
tester<int>::test();
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user