mirror of
https://github.com/boostorg/system.git
synced 2025-05-12 05:31:49 +00:00
14 lines
278 B
C++
14 lines
278 B
C++
// Copyright 2017, 2021, 2022 Peter Dimov.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
#include <boost/system/result.hpp>
|
|
|
|
using namespace boost::system;
|
|
|
|
int main()
|
|
{
|
|
int x = 1;
|
|
result<int const&>( x ) | 2;
|
|
}
|