mirror of
https://github.com/boostorg/any.git
synced 2026-01-19 16:12:09 +00:00
16 lines
355 B
C++
16 lines
355 B
C++
// Copyright Antony Polukhin, 2021-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.hpp>
|
|
#include <boost/any/basic_any.hpp>
|
|
|
|
int main()
|
|
{
|
|
boost::any value = 10;
|
|
boost::anys::basic_any<> bany;
|
|
bany = value;
|
|
}
|
|
|