| 1234567891011121314151617181920212223242526272829 |
- //
- // forwards.h
- // string-utils
- //
- // Created by Sam Jaffe on 6/12/22.
- // Copyright © 2022 Sam Jaffe. All rights reserved.
- //
- #pragma once
- #include "string_utils/traits.h"
- namespace string_utils {
- class Tokenizer;
- class EscapedTokenizer;
- // The main parser
- template <typename T> std::pair<T, bool> cast(std::string_view str) noexcept;
- template <typename T, typename S>
- std::pair<T, bool> cast(std::vector<S> const & str) noexcept;
- template <typename Out> bool cast(Out & out, std::string_view str) noexcept;
- template <typename Out>
- bool cast(Out & out, std::vector<std::string_view> const & strs) noexcept;
- template <typename Out, typename S>
- bool cast(Out & out, std::vector<S> const & str) noexcept;
- }
|