• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright Beman Dawes 2009
2
3//  Use, modification and distribution are subject to the
4//  Boost Software License, Version 1.0. (See accompanying file
5//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7//  See http://www.boost.org/libs/config for more information.
8
9//  MACRO:         BOOST_NO_CXX11_NULLPTR
10//  TITLE:         C++0x nullptr feature unavailable
11//  DESCRIPTION:   The compiler does not support the C++0x nullptr feature
12
13namespace boost_no_cxx11_nullptr {
14
15void quiet_warning(const int*){}
16
17int test()
18{
19  int * p = nullptr;
20  quiet_warning(p);
21  return 0;
22}
23
24}
25