Sharg 1.2.2
The argument parser for bio-c++ tools.
Loading...
Searching...
No Matches
sharg::vector_of_string Class Reference

A std::vector<std::string> that can also be constructed from std::string. More...

#include <sharg/auxiliary.hpp>

+ Inheritance diagram for sharg::vector_of_string:

Public Member Functions

 vector_of_string ()=default
 Defaulted.
 
 vector_of_string (vector_of_string const &)=default
 Defaulted.
 
vector_of_string & operator= (vector_of_string const &)=default
 Defaulted.
 
 vector_of_string (vector_of_string &&)=default
 Defaulted.
 
vector_of_string & operator= (vector_of_string &&)=default
 Defaulted.
 
 ~vector_of_string ()=default
 Defaulted.
 
template<typename... t>
requires std::constructible_from<std::string, t...>
constexpr vector_of_string (t &&... str)
 Delegate to std::string constructor if possible.
 
template<typename Iter >
requires std::constructible_from<std::string, Iter, Iter> && std::same_as<std::decay_t<Iter>, std::string::value_type *>
constexpr vector_of_string (Iter begin, Iter end)
 Construct from iterator pair.
 
constexpr vector_of_string (std::initializer_list< std::string::value_type > il)
 Construct from an initializer list.
 
- Public Member Functions inherited from std::vector< std::string >
T assign (T... args)
 
T at (T... args)
 
T back (T... args)
 
T begin (T... args)
 
T capacity (T... args)
 
T cbegin (T... args)
 
T cend (T... args)
 
T clear (T... args)
 
T crbegin (T... args)
 
T crend (T... args)
 
T data (T... args)
 
T emplace (T... args)
 
T emplace_back (T... args)
 
T empty (T... args)
 
T end (T... args)
 
T erase (T... args)
 
T front (T... args)
 
T get_allocator (T... args)
 
T insert (T... args)
 
T max_size (T... args)
 
T operator= (T... args)
 
T operator[] (T... args)
 
T pop_back (T... args)
 
T push_back (T... args)
 
T rbegin (T... args)
 
T rend (T... args)
 
T reserve (T... args)
 
T resize (T... args)
 
T shrink_to_fit (T... args)
 
T size (T... args)
 
T swap (T... args)
 
T vector (T... args)
 
T ~vector (T... args)
 

Detailed Description

A std::vector<std::string> that can also be constructed from std::string.

This entity is experimental and subject to change in the future. Experimental since version 1.2.0.


The documentation for this class was generated from the following file:
Hide me