mirror of
https://github.com/boostorg/any.git
synced 2026-01-20 16:32:07 +00:00
13 lines
310 B
C++
13 lines
310 B
C++
// 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() {
|
|
int i = boost::any_cast<int&>(10);
|
|
(void)i;
|
|
}
|