#define PALUDIS_ATTRIBUTE | ( | x | ) |
If we're using a recent GCC or ICC, expands to __attribute__, otherwise discards its arguments.
#define PALUDIS_HIDDEN |
Marker used to represent 'make hidden', if visibility is enabled.
#define PALUDIS_VISIBLE |
Marker used to represent 'make visible', if visibility is enabled.
std::string paludis::cookie | ( | ) |
Return a magic cookie string.
The cookie string will not contain any weird characters. It's derived from a combination of the process ID and the current time.
NullSharedPtr paludis::make_null_shared_ptr | ( | ) | [inline] |
Return an object that can convert itself to an empty std::tr1::shared_ptr<> of any type.
std::tr1::shared_ptr< T_ > paludis::make_shared_copy | ( | const T_ & | t | ) | [inline] |
Like make_shared_ptr(new T_(t)).
std::tr1::shared_ptr< T_ > paludis::make_shared_ptr | ( | T_ *const | t | ) | [inline] |
Convenience function for creating a std::tr1::shared_ptr<> from a newly constructed object.
Use this only with new T_(whatever)
as the parameter. Do not use it to try to create a std::tr1::shared_ptr<> from something that is not newly allocated.