Scroom  0.14
stuff.hh
Go to the documentation of this file.
1 /*
2  * Scroom - Generic viewer for 2D data
3  * Copyright (C) 2009-2022 Kees-Jan Dijkzeul
4  *
5  * SPDX-License-Identifier: LGPL-2.1
6  */
7 
8 #pragma once
9 
10 #include <list>
11 
12 #include <boost/shared_ptr.hpp>
13 #include <boost/weak_ptr.hpp>
14 
15 namespace Scroom::Utils
16 {
18  using Stuff = boost::shared_ptr<void>;
19  using StuffWeak = boost::weak_ptr<void>;
20  using StuffList = std::list<Stuff>;
21 
22  inline Stuff Empty() { return {}; }
23 } // namespace Scroom::Utils
Scroom::Utils::StuffList
std::list< Stuff > StuffList
Definition: stuff.hh:20
Scroom::Utils::StuffWeak
boost::weak_ptr< void > StuffWeak
Definition: stuff.hh:19
Scroom::Utils
Definition: assertions.hh:14
Scroom::Utils::Empty
Stuff Empty()
Definition: stuff.hh:22
Scroom::Utils::Stuff
boost::shared_ptr< void > Stuff
Definition: stuff.hh:18