forked from boostorg/conversion
Fix warnings in lexical_cast found by Boost Inspection program (copyrights restored according to svn history, license text replaced with license name and link to it)
[SVN r85149]
This commit is contained in:
18
cast.htm
18
cast.htm
@@ -10,6 +10,13 @@
|
|||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
|
|
||||||
<title>Header boost/cast.hpp Documentation</title>
|
<title>Header boost/cast.hpp Documentation</title>
|
||||||
|
<style>
|
||||||
|
.copyright
|
||||||
|
{
|
||||||
|
color: #666666;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="#FFFFFF" text="#000000">
|
<body bgcolor="#FFFFFF" text="#000000">
|
||||||
@@ -131,10 +138,9 @@ void f( Fruit * fruit ) {
|
|||||||
-->June 23, 2005<!--webbot bot="Timestamp" endspan i-checksum="30348"
|
-->June 23, 2005<!--webbot bot="Timestamp" endspan i-checksum="30348"
|
||||||
--></p>
|
--></p>
|
||||||
|
|
||||||
<p>© Copyright boost.org 1999. Permission to copy, use, modify, sell
|
<p class="copyright">© Copyright boost.org 1999.
|
||||||
and distribute this document is granted provided this copyright notice
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
appears in all copies. This document is provided "as is" without express
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
or implied warranty, and with no claim as to its suitability for any
|
</p>
|
||||||
purpose.</p>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -2557,7 +2557,7 @@ namespace boost {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_CHAR16_T
|
#ifndef BOOST_NO_CXX11_CHAR16_T
|
||||||
template <typename Target>
|
template <typename Target>
|
||||||
inline Target lexical_cast(const char16_t* chars, std::size_t count)
|
inline Target lexical_cast(const char16_t* chars, std::size_t count)
|
||||||
{
|
{
|
||||||
@@ -2566,7 +2566,7 @@ namespace boost {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_CHAR32_T
|
#ifndef BOOST_NO_CXX11_CHAR32_T
|
||||||
template <typename Target>
|
template <typename Target>
|
||||||
inline Target lexical_cast(const char32_t* chars, std::size_t count)
|
inline Target lexical_cast(const char32_t* chars, std::size_t count)
|
||||||
{
|
{
|
||||||
|
15
index.html
15
index.html
@@ -6,6 +6,13 @@
|
|||||||
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
||||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||||
<title>Boost Conversion Library</title>
|
<title>Boost Conversion Library</title>
|
||||||
|
<style>
|
||||||
|
.copyright
|
||||||
|
{
|
||||||
|
color: #666666;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="#FFFFFF" text="#000000">
|
<body bgcolor="#FFFFFF" text="#000000">
|
||||||
@@ -32,7 +39,11 @@ supplied by several headers:</p>
|
|||||||
<p>Revised <!--webbot bot="Timestamp" S-Type="EDITED"
|
<p>Revised <!--webbot bot="Timestamp" S-Type="EDITED"
|
||||||
S-Format="%d %B, %Y" startspan -->June 23, 2005<!--webbot bot="Timestamp" endspan i-checksum="30348" -->
|
S-Format="%d %B, %Y" startspan -->June 23, 2005<!--webbot bot="Timestamp" endspan i-checksum="30348" -->
|
||||||
</p>
|
</p>
|
||||||
|
<p class="copyright">
|
||||||
|
Copyright 2001 Beman Dawes.
|
||||||
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
|
</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@@ -20,7 +20,7 @@ int test_main(int, char*[])
|
|||||||
{
|
{
|
||||||
foo x = implicit_cast<foo>("foobar");
|
foo x = implicit_cast<foo>("foobar");
|
||||||
(void)x; // warning suppression.
|
(void)x; // warning suppression.
|
||||||
BOOST_CHECK(false); // suppressing warning about ‘boost::unit_test::{anonymous}::unit_test_log’ defined but not used
|
BOOST_CHECK(false); // suppressing warning about 'boost::unit_test::{anonymous}::unit_test_log' defined but not used
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
int test_main(int, char*[])
|
int test_main(int, char*[])
|
||||||
{
|
{
|
||||||
boost::lexical_cast<char*>("Hello");
|
boost::lexical_cast<char*>("Hello");
|
||||||
BOOST_CHECK(false); // suppressing warning about ‘boost::unit_test::{anonymous}::unit_test_log’ defined but not used
|
BOOST_CHECK(false); // suppressing warning about 'boost::unit_test::{anonymous}::unit_test_log' defined but not used
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user