Files
lexical_cast/test/from_volatile.cpp
2026-01-04 11:10:09 +03:00

17 lines
355 B
C++

// Copyright Antony Polukhin, 2013-2026.
//
// Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).
#include <boost/lexical_cast.hpp>
#include <string>
int main()
{
volatile int i = 42;
boost::lexical_cast<std::string>(i);
return 1;
}