StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
Namespaces | Functions
helpers.hxx File Reference
#include <StormByte/type_traits.hxx>
#include <StormByte/visibility.h>
#include <span>
#include <vector>
#include <version>
Include dependency graph for helpers.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 

Functions

template<typename T , typename U >
requires Type::ConvertibleTo<T, U>
void StormByte::append_vector (std::vector< T > &dest, std::span< U > src) noexcept
 Appends a span of convertible elements onto a vector.
 
template<typename T >
void StormByte::append_vector (std::vector< T > &dest, const std::vector< T > &src) noexcept
 Appends a vector by copy.
 
template<typename T >
void StormByte::append_vector (std::vector< T > &dest, std::vector< T > &&src) noexcept
 Appends a vector by move.