1 // Copyright 2006 Alexander Nasonov. 2 // Copyright Antony Polukhin, 2013-2019. 3 // 4 // Distributed under the Boost Software License, Version 1.0. (See 5 // accompanying file LICENSE_1_0.txt or copy at 6 // http://www.boost.org/LICENSE_1_0.txt) 7 8 #include <boost/any.hpp> 9 main()10int main() { 11 boost::any const a; 12 boost::any_cast<int&>(a); 13 } 14 15