2
0
mirror of https://github.com/boostorg/any.git synced 2026-01-19 16:12:09 +00:00
Files
any/test/basic_any_cast_cv_failed.cpp
2026-01-02 13:35:47 +03:00

16 lines
401 B
C++

// Copyright 2006 Alexander Nasonov.
// Copyright Antony Polukhin, 2013-2026.
// Copyright Ruslan Arutyunyan, 2019-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/basic_any.hpp>
int main() {
boost::anys::basic_any<> const a;
boost::any_cast<int&>(a);
}