Pothos  0.4.3-gabce2ce6
The Pothos dataflow programming software suite
ObjectMImpl.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
15 #include <type_traits>
16 
17 namespace Pothos {
18 
19 template <typename ValueType>
20 ObjectM::ObjectM(ValueType &&value):
21  Object(std::forward<ValueType>(value))
22 {
23  return;
24 }
25 
26 template <typename ValueType>
27 ValueType &ObjectM::extract(void) const
28 {
29  return Detail::ObjectContainer::extract<ValueType>(*this);
30 }
31 
32 } //namespace Pothos
ValueType & extract(void) const
Definition: ObjectMImpl.hpp:27
Definition: CallInterface.hpp:15
Definition: Object.hpp:55