mirror of
https://github.com/boostorg/any.git
synced 2026-01-21 04:32:08 +00:00
15 lines
358 B
C++
15 lines
358 B
C++
// Copyright 2006 Alexander Nasonov.
|
|
// Copyright Antony Polukhin, 2013-2026.
|
|
//
|
|
// 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/unique_any.hpp>
|
|
|
|
int main() {
|
|
boost::anys::unique_any const a;
|
|
boost::any_cast<int&>(a);
|
|
}
|
|
|