Changeset View
Changeset View
Standalone View
Standalone View
src/rwcollection.h
// Copyright (c) 2018 The Bitcoin developers | // Copyright (c) 2018 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_RWCOLLECTION_H | #ifndef BITCOIN_RWCOLLECTION_H | ||||
#define BITCOIN_RWCOLLECTION_H | #define BITCOIN_RWCOLLECTION_H | ||||
#include <boost/noncopyable.hpp> | #include <boost/noncopyable.hpp> | ||||
#include <boost/range/iterator.hpp> | #include <boost/range/iterator.hpp> | ||||
#include <boost/thread/locks.hpp> | |||||
#include <boost/thread/shared_mutex.hpp> | #include <boost/thread/shared_mutex.hpp> | ||||
#include <iterator> | #include <iterator> | ||||
#include <type_traits> | #include <type_traits> | ||||
#include <utility> | #include <utility> | ||||
template <typename T, typename L> class RWCollectionView : boost::noncopyable { | template <typename T, typename L> class RWCollectionView : boost::noncopyable { | ||||
private: | private: | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |