Disable addressof for r-values when possible

This commit is contained in:
Glen Fernandes
2017-04-22 23:50:00 -04:00
parent 46545326d8
commit dc6003e26f
4 changed files with 40 additions and 4 deletions

View File

@@ -1,10 +1,9 @@
/*
Copyright 2017 Glen Joseph Fernandes
<glenjofe -at- gmail.com>
(glenjofe@gmail.com)
Distributed under the Boost Software
License, Version 1.0.
http://boost.org/LICENSE_1_0.txt
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/core/addressof.hpp>