30#include <alien/utils/Trace.h>
56 template <
typename... T>
61 std::pair<std::shared_ptr<U>,
bool>
m_value;
73,
private std::shared_ptr<U>
81 template <
typename... T>
84 , std::shared_ptr<U>(this->
m_value.first)
88 cout() <<
"Create Universal Object";
90 cout() <<
"Find Universal Object";
98 void first_time(std::function<
void(U&)> f)
101 alien_debug([&] { cout() <<
"Initialize Universal Object"; });
106 using std::shared_ptr<U>::operator->;
Universal(T &... t)
Constructor.
Alien universe. Common structure to store shared objects between all elements of the library Alien.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::pair< std::shared_ptr< U >, bool > m_value
The object with its instancied flag.
UniversalObject(T &... t)
Constructor.