1//
2// Copyright (c) 2023 Klemens Morgenstern (klemens.morgenstern@gmx.net)
3//
4// Distributed under the Boost Software License, Version 1.0. (See accompanying
5// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6//
7
8#ifndef BOOST_COBALT_DETACHED_HPP
9#define BOOST_COBALT_DETACHED_HPP
10
11#include <boost/cobalt/detail/detached.hpp>
12
13namespace boost::cobalt
14{
15
16struct detached
17{
18 using promise_type = detail::detached_promise;
19};
20
21inline detached detail::detached_promise::get_return_object() { return {}; }
22
23
24}
25
26
27#endif //BOOST_COBALT_DETACHED_HPP
28

source code of boost/libs/cobalt/include/boost/cobalt/detached.hpp