Pothos  0.2.1-g9f04573d
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
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: Object.hpp:55