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:
Antony Polukhin
2013-03-27 17:00:46 +00:00
parent 9fc1a66d27
commit 633b852b81
5 changed files with 43 additions and 28 deletions
+21
View File
@@ -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;
}