|
xdrpp
RFC4506 XDR compiler and message library
|
A vector with a maximum size (returned by xvector::max_size()). More...
#include <types.h>


Public Types | |
| using | vector = std::vector< T > |
Public Member Functions | |
| void | append (const T *elems, std::size_t n) |
| T & | extend_at (uint32_t i) |
| void | resize (uint32_t n) |
Static Public Member Functions | |
| static Constexpr uint32_t | max_size () |
| Return the maximum size allowed by the type. | |
| static void | check_size (size_t n) |
| Check whether a size is in bounds. | |
A vector with a maximum size (returned by xvector::max_size()).
Note that you can exceed the size, but an error will happen when marshaling or unmarshaling the data structure.
1.8.13