forked from boostorg/optional
ASSIGN -> CONVERT
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
#include "boost/core/lightweight_test.hpp"
|
||||
#include "boost/optional/detail/optional_config.hpp"
|
||||
|
||||
#ifndef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
||||
#ifndef BOOST_OPTIONAL_CONFIG_NO_PROPER_CONVERT_FROM_CONST_INT
|
||||
|
||||
int main()
|
||||
{
|
||||
@ -26,9 +26,9 @@ const int global_i = 0;
|
||||
|
||||
struct Binder
|
||||
{
|
||||
Binder(const int& i)
|
||||
{
|
||||
BOOST_TEST(&i == &global_i);
|
||||
Binder(const int& i)
|
||||
{
|
||||
BOOST_TEST(&i == &global_i);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user