| #define PALUDIS_ATTRIBUTE | ( | x | ) |
If we're using a recent GCC or ICC, expands to __attribute__, otherwise discards its arguments.
Referenced by paludis::stringify_internals::real_stringify().
| #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_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.
1.5.5