Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
#include <iostream>
auto main() -> int {
std::cout << cxx.
size() << std::endl;
for(auto& entry : cxx) {
std::cout << '"' << entry << '"' << std::endl;
}
std::cout << cxx.as_string("|", true) << std::endl;
std::cout << cxx.as_string("/", false) << std::endl;
return 0;
}
Common code is placed in this namespace.
Definition: eagine.hpp:21
auto size() const noexcept -> size_type
Returns the number of elements in this path.
Definition: string_path.hpp:166
Basic class storing paths made of string elements.
Definition: string_path.hpp:27
#define EAGINE_TAG(NAME)
Macro for defining selector values corresponding to identifier NAME.
Definition: identifier.hpp:375