mirror of
https://github.com/boostorg/lexical_cast.git
synced 2026-01-22 05:12:52 +00:00
17 lines
355 B
C++
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;
|
|
}
|
|
|