Sharg 1.2.2-rc.1
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_stringoperator= (vector_of_string const &)=default
 Defaulted.
 
 vector_of_string (vector_of_string &&)=default
 Defaulted.
 
vector_of_stringoperator= (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 >
assign (T... args)
 
at (T... args)
 
back (T... args)
 
begin (T... args)
 
capacity (T... args)
 
cbegin (T... args)
 
cend (T... args)
 
clear (T... args)
 
crbegin (T... args)
 
crend (T... args)
 
data (T... args)
 
emplace (T... args)
 
emplace_back (T... args)
 
empty (T... args)
 
end (T... args)
 
erase (T... args)
 
front (T... args)
 
get_allocator (T... args)
 
insert (T... args)
 
max_size (T... args)
 
operator= (T... args)
 
operator[] (T... args)
 
pop_back (T... args)
 
push_back (T... args)
 
rbegin (T... args)
 
rend (T... args)
 
reserve (T... args)
 
resize (T... args)
 
shrink_to_fit (T... args)
 
size (T... args)
 
swap (T... args)
 
vector (T... args)
 
~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