]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/optional/test/optional_test_maybe_uninitialized_warning.cpp
1 // Copyright (C) 2017 Andrzej Krzemienski.
3 // Use, modification, and distribution is subject to the Boost Software
4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org/lib/optional for documentation.
9 // You are welcome to contact the author at:
12 #include "boost/optional/optional.hpp"
18 boost::optional
<int> getitem();
20 int main(int argc
, const char *[])
22 boost::optional
<int> a
= getitem();
23 boost::optional
<int> b
;