Libosmium
2.15.5
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 1 #ifndef OSMIUM_THREAD_FUNCTION_WRAPPER_HPP
2 #define OSMIUM_THREAD_FUNCTION_WRAPPER_HPP
68 std::unique_ptr<impl_base>
impl;
90 template <
typename TFunction,
typename X =
typename std::enable_if<
91 !std::is_same<TFunction, function_wrapper>::value,
void>
::type>
114 impl(std::move(other.impl)) {
118 impl = std::move(other.impl);
124 explicit operator bool()
const {
125 return static_cast<bool>(
impl);
134 #endif // OSMIUM_THREAD_FUNCTION_WRAPPER_HPP
function_wrapper()=default
Definition: function_wrapper.hpp:50
function_wrapper(function_wrapper &&other) noexcept
Definition: function_wrapper.hpp:113
Definition: function_wrapper.hpp:48
function_wrapper & operator=(const function_wrapper &)=delete
function_wrapper(int)
Definition: function_wrapper.hpp:100
impl_base & operator=(const impl_base &) noexcept=default
bool call() override
Definition: function_wrapper.hpp:79
std::unique_ptr< impl_base > impl
Definition: function_wrapper.hpp:68
function_wrapper & operator=(function_wrapper &&other) noexcept
Definition: function_wrapper.hpp:117
function_wrapper(TFunction &&f)
Definition: function_wrapper.hpp:93
F m_functor
Definition: function_wrapper.hpp:73
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
Definition: function_wrapper.hpp:71
~function_wrapper()=default
virtual ~impl_base() noexcept=default
impl_base() noexcept=default
virtual bool call()
Definition: function_wrapper.hpp:62
bool operator()()
Definition: function_wrapper.hpp:104
Definition: location.hpp:551
impl_type(F &&functor)
Definition: function_wrapper.hpp:75
type
Definition: entity_bits.hpp:63