boost/libs/any/test/any_cast_cv_failed.cpp
2021-10-05 21:37:46 +02:00

15 lines
334 B
C++

// Copyright 2006 Alexander Nasonov.
// Copyright Antony Polukhin, 2013-2021.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/any.hpp>
int main() {
boost::any const a;
boost::any_cast<int&>(a);
}