portability.h File
Library portability helper definitions. More...
Included Headers
#include <cstdint>
#include <sys/types.h>
Classes Index
| class | p1_ostream |
Typedefs Index
| typedef | ssize_t p1_ssize_t |
Operators Index
template <class T> | |
| p1_ostream & | operator<< (p1_ostream &stream, const T &) |
Macro Definitions Index
| #define | P1_ALIGNAS(N) alignas(N) |
| #define | P1_CONSTEXPR_FUNC inline |
| #define | P1_EXPORT |
| #define | P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L) |
| #define | P1_HAVE_STD_FUNCTION 1 |
| #define | P1_HAVE_STD_OSTREAM 1 |
| #define | P1_HAVE_STD_SMART_PTR 1 |
| #define | P1_HIDDEN |
Description
Library portability helper definitions.
Typedefs
p1_ssize_t
|
Definition at line 67 of file portability.h.
67typedef ssize_t p1_ssize_t;
Operators
operator<<()
template <class T>
| inline |
Definition at line 82 of file portability.h.
Macro Definitions
P1_ALIGNAS
|
Definition at line 57 of file portability.h.
57# define P1_ALIGNAS(N) alignas(N)
P1_CONSTEXPR_FUNC
|
Definition at line 105 of file portability.h.
105# define P1_CONSTEXPR_FUNC inline
P1_EXPORT
|
Definition at line 33 of file portability.h.
33# define P1_EXPORT
P1_HAVE_MULTILINE_CONSTEXPR_FUNC
|
Definition at line 98 of file portability.h.
98# define P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L)
P1_HAVE_STD_FUNCTION
|
Definition at line 88 of file portability.h.
88# define P1_HAVE_STD_FUNCTION 1
P1_HAVE_STD_OSTREAM
|
Definition at line 71 of file portability.h.
71# define P1_HAVE_STD_OSTREAM 1
P1_HAVE_STD_SMART_PTR
|
Definition at line 92 of file portability.h.
92# define P1_HAVE_STD_SMART_PTR 1
P1_HIDDEN
|
Definition at line 34 of file portability.h.
34# define P1_HIDDEN
File Listing
The file content with the documentation metadata removed is:
33# define P1_EXPORT
34# define P1_HIDDEN
57# define P1_ALIGNAS(N) alignas(N)
62typedef int32_t p1_ssize_t;
64typedef int64_t p1_ssize_t;
67typedef ssize_t p1_ssize_t;
71# define P1_HAVE_STD_OSTREAM 1
75using p1_ostream = std::ostream;
77class p1_ostream {
79 p1_ostream() = default;
82inline p1_ostream& operator<<(p1_ostream& stream, const T&) {
88# define P1_HAVE_STD_FUNCTION 1
92# define P1_HAVE_STD_SMART_PTR 1
98# define P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L)
105# define P1_CONSTEXPR_FUNC inline
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.9.8.