boost_no_template_aliases.ipp 633 B

12345678910111213141516171819202122
  1. // (C) Copyright Beman Dawes 2009
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for more information.
  6. // MACRO: BOOST_NO_CXX11_TEMPLATE_ALIASES
  7. // TITLE: C++0x template_aliases feature unavailable
  8. // DESCRIPTION: The compiler does not support the C++0x template_aliases feature
  9. namespace boost_no_cxx11_template_aliases {
  10. using PINT = void (*)(int); // using plus C-style type
  11. int test()
  12. {
  13. return 0;
  14. }
  15. }