Go to the documentation of this file.
13 #if defined(_WIN32) || defined(_MSC_VER) || defined(__CYGWIN__)
16 # define P1_EXPORT __attribute__((dllexport))
18 # define P1_EXPORT __declspec(dllexport)
22 # define P1_EXPORT __attribute__((dllimport))
24 # define P1_EXPORT __declspec(dllimport)
30 # define P1_EXPORT __attribute__((visibility("default")))
31 # define P1_HIDDEN __attribute__((visibility("hidden")))
45 # define __ESCAPE__(__x) (__x)
46 # define P1_HAVE_STD_FUNCTION 0
47 # define P1_HAVE_STD_OSTREAM 0
48 # define P1_HAVE_STD_SMART_PTR 0
49 # define P1_NO_LOGGING 1
55 # define P1_ALIGNAS(N) __attribute__((aligned(N)))
57 # define P1_ALIGNAS(N) alignas(N)
61 #if defined(_WIN32) || defined(__CC_ARM)
63 #elif defined(_MSC_VER)
66 # include <sys/types.h>
70 #ifndef P1_HAVE_STD_OSTREAM
71 # define P1_HAVE_STD_OSTREAM 1
73 #if P1_HAVE_STD_OSTREAM
87 #ifndef P1_HAVE_STD_FUNCTION
88 # define P1_HAVE_STD_FUNCTION 1
91 #ifndef P1_HAVE_STD_SMART_PTR
92 # define P1_HAVE_STD_SMART_PTR 1
97 #ifndef P1_HAVE_MULTILINE_CONSTEXPR_FUNC
98 # define P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L)
101 #ifndef P1_CONSTEXPR_FUNC
102 # if P1_HAVE_MULTILINE_CONSTEXPR_FUNC
103 # define P1_CONSTEXPR_FUNC constexpr
105 # define P1_CONSTEXPR_FUNC inline
NullStream & operator<<(NullStream &stream, const T &)