1// (C) Copyright Vicente J. Botet Escriba 2010. 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 6// See http://www.boost.org/libs/config for most recent version. 7 8// MACRO: BOOST_NO_CXX11_NUMERIC_LIMITS 9// TITLE: static function lowest() in numeric_limits class <limits> 10// DESCRIPTION: static function numeric_limits<T>::lowest() are not available for use. 11 12#include <limits> 13 14namespace boost_no_cxx11_numeric_limits{ 15 16int f() 17{ 18 // this is never called, it just has to compile: 19 return std::numeric_limits<int>::lowest(); 20} 21 22int test() 23{ 24 return 0; 25} 26 27} 28 29 30 31 32