mirror of
https://github.com/boostorg/conversion.git
synced 2026-05-04 11:44:13 +02:00
Update code that uses string buffers (refs #8267).
Treat cast to pointer as compile time error (refs #8334). Update documentation [SVN r83601]
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// // Unit test for boost::lexical_cast.
|
||||
//
|
||||
// See http://www.boost.org for most recent version, including documentation.
|
||||
//
|
||||
// Copyright Antony Polukhin, 2013.
|
||||
//
|
||||
// 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 <boost/type.hpp>
|
||||
|
||||
#define BOOST_INCLUDE_MAIN
|
||||
#include <boost/test/test_tools.hpp>
|
||||
|
||||
int test_main(int, char*[])
|
||||
{
|
||||
boost::lexical_cast<char*>("Hello");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user