mirror of
https://github.com/boostorg/core.git
synced 2025-08-13 19:54:28 +02:00
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
|
// Copyright 2014 Agustin Berge
|
||||||
//
|
//
|
||||||
// Distributed under the Boost Software License, Version 1.0. (See
|
// Distributed under the Boost Software License, Version 1.0. (See
|
||||||
@@ -12,8 +11,6 @@
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::reference_wrapper<int const> r(1); // this should produce an ERROR
|
boost::reference_wrapper<int const> r(1); // this should produce an ERROR
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
// Copyright 2002-2004 David Abrahams and Aleksey Gurtovoy
|
|
||||||
// Copyright 2014 Agustin Berge
|
// Copyright 2014 Agustin Berge
|
||||||
//
|
//
|
||||||
// Distributed under the Boost Software License, Version 1.0. (See
|
// Distributed under the Boost Software License, Version 1.0. (See
|
||||||
@@ -10,6 +9,4 @@
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::reference_wrapper<int> r = boost::ref(2); // this should produce an ERROR
|
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
|
// Copyright 2014 Agustin Berge
|
||||||
//
|
//
|
||||||
// Distributed under the Boost Software License, Version 1.0. (See
|
// Distributed under the Boost Software License, Version 1.0. (See
|
||||||
@@ -16,8 +15,6 @@ X const crv() { return X(); }
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::reference_wrapper<X const> r = boost::ref(crv()); // this should produce an ERROR
|
boost::reference_wrapper<X const> r = boost::ref(crv()); // this should produce an ERROR
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user