forked from boostorg/core
More cosmetic fixes in ref tests.
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
|
//
|
||||||
|
// Test that a reference_wrapper can't be constructed from an rvalue
|
||||||
|
//
|
||||||
// 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.
|
||||||
// accompanying file LICENSE_1_0.txt or copy at
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
//
|
||||||
|
|
||||||
#include <boost/ref.hpp>
|
#include <boost/ref.hpp>
|
||||||
|
|
||||||
|
@@ -1,8 +1,12 @@
|
|||||||
|
//
|
||||||
|
// Test that an rvalue can't be passed to ref()
|
||||||
|
//
|
||||||
// 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.
|
||||||
// accompanying file LICENSE_1_0.txt or copy at
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
//
|
||||||
|
|
||||||
#include <boost/ref.hpp>
|
#include <boost/ref.hpp>
|
||||||
|
|
||||||
|
@@ -1,8 +1,12 @@
|
|||||||
|
//
|
||||||
|
// Test that a const rvalue can't be passed to ref()
|
||||||
|
//
|
||||||
// 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.
|
||||||
// accompanying file LICENSE_1_0.txt or copy at
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
//
|
||||||
|
|
||||||
#include <boost/ref.hpp>
|
#include <boost/ref.hpp>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user