Initial re-commit after CVS disk crash

[SVN r18348]
This commit is contained in:
Beman Dawes
2003-05-07 20:41:11 +00:00
parent 498c84dd4f
commit 4b3e8171fa
3 changed files with 91 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
// Copyright David Abrahams 2003. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <boost/implicit_cast.hpp>
#include <boost/type.hpp>
#define BOOST_INCLUDE_MAIN
#include <boost/test/test_tools.hpp>
using boost::implicit_cast;
struct foo
{
explicit foo(char const*) {}
};
int test_main(int, char*[])
{
foo x = implicit_cast<foo>("foobar");
}