Copyright and cosmetic fixes.

This commit is contained in:
Peter Dimov
2014-06-10 03:14:33 +03:00
parent dc63ce9ee0
commit a0f5475126
3 changed files with 11 additions and 20 deletions

View File

@@ -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
@@ -7,15 +6,13 @@
#include <boost/ref.hpp>
# if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
int main()
{
boost::reference_wrapper<int const> r(1); // this should produce an ERROR
return 0;
boost::reference_wrapper<int const> r(1); // this should produce an ERROR
}
# else
# error To fail, this test requires rvalue references
# endif
#else
# error To fail, this test requires rvalue references
#endif