forked from boostorg/core
Copyright and cosmetic fixes.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// Copyright 2002-2004 David Abrahams and Aleksey Gurtovoy
|
||||
// Copyright 2014 Agustin Berge
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
@@ -12,8 +11,6 @@
|
||||
int main()
|
||||
{
|
||||
boost::reference_wrapper<int const> r(1); // this should produce an ERROR
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
@@ -1,4 +1,3 @@
|
||||
// Copyright 2002-2004 David Abrahams and Aleksey Gurtovoy
|
||||
// Copyright 2014 Agustin Berge
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
@@ -10,6 +9,4 @@
|
||||
int main()
|
||||
{
|
||||
boost::reference_wrapper<int> r = boost::ref(2); // this should produce an ERROR
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
// Copyright 2002-2004 David Abrahams and Aleksey Gurtovoy
|
||||
// Copyright 2014 Agustin Berge
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
@@ -16,8 +15,6 @@ X const crv() { return X(); }
|
||||
int main()
|
||||
{
|
||||
boost::reference_wrapper<X const> r = boost::ref(crv()); // this should produce an ERROR
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user