scnlib  0.1.2
FormattedinputformodernC++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
scn Namespace Reference

Namespaces

 detail
 
 predicates
 
 ranges
 

Classes

class  basic_arg
 Type-erased scanning argument. More...
 
class  basic_args
 
struct  scanner
 
struct  temporary
 
class  arg_store
 
class  basic_context
 
class  basic_scanf_context
 
class  basic_empty_context
 
class  erased_stream
 
class  erased_sized_stream
 
class  basic_std_istream_stream
 
struct  scanner< CharT, T, typename std::enable_if< detail::is_std_streamable< CharT, T >::value >::type >
 
class  basic_default_locale_ref
 
class  basic_locale_ref
 
struct  options
 
struct  default_options
 
class  basic_parse_context
 
class  basic_scanf_parse_context
 
class  basic_empty_parse_context
 
class  error
 Error class. More...
 
class  result
 
class  expected
 expected-like type. More...
 
class  expected< T, Error, typename std::enable_if< std::is_default_constructible< T >::value >::type >
 expected-like type for default-constructible success values. More...
 
class  expected< T, Error, typename std::enable_if< !std::is_default_constructible< T >::value >::type >
 expected-like type for non-default-constructible success values. More...
 
class  span
 A view over a contiguous range. More...
 
struct  is_sized_stream
 
struct  stream_base
 
class  basic_null_stream
 
class  basic_static_container_stream
 
class  basic_static_container_stream< Char, Container >
 
class  basic_static_container_stream< Char, span< const Char > >
 
struct  basic_bidirectional_iterator_stream
 
struct  basic_forward_iterator_stream
 
struct  basic_cstdio_stream
 
struct  basic_cstdio_stream< char >
 
struct  basic_cstdio_stream< wchar_t >
 
class  basic_string_view
 A view over a (sub)string. More...
 
class  wrap_default
 
struct  empty_parser
 
struct  scanner< CharT, CharT >
 
struct  scanner< CharT, span< CharT > >
 
struct  scanner< CharT, bool >
 
struct  scanner< CharT, short >
 
struct  scanner< CharT, int >
 
struct  scanner< CharT, long >
 
struct  scanner< CharT, long long >
 
struct  scanner< CharT, unsigned short >
 
struct  scanner< CharT, unsigned int >
 
struct  scanner< CharT, unsigned long >
 
struct  scanner< CharT, unsigned long long >
 
struct  scanner< CharT, float >
 
struct  scanner< CharT, double >
 
struct  scanner< CharT, long double >
 
struct  scanner< CharT, std::basic_string< CharT > >
 
class  basic_visitor
 
struct  erased_stream_context_type
 
struct  erased_stream_context_type< Stream, true >
 

Typedefs

using scan_result = result< int >
 
using string_view = basic_string_view< char >
 
using wstring_view = basic_string_view< wchar_t >
 
using u16string_view = basic_string_view< char >
 
using u32wstring_view = basic_string_view< wchar_t >
 
template<typename CharT >
using basic_erased_stream_context = basic_context< erased_stream< CharT >>
 
template<typename CharT >
using basic_erased_sized_stream_context = basic_context< erased_sized_stream< CharT >>
 
using erased_stream_context = basic_erased_stream_context< char >
 
using werased_stream_context = basic_erased_stream_context< wchar_t >
 
using erased_sized_stream_context = basic_erased_sized_stream_context< char >
 
using werased_sized_stream_context = basic_erased_sized_stream_context< wchar_t >
 
template<typename CharT >
using basic_erased_empty_stream_context = basic_empty_context< erased_stream< CharT >>
 
template<typename CharT >
using basic_erased_empty_sized_stream_context = basic_empty_context< erased_sized_stream< CharT >>
 
using erased_empty_stream_context = basic_erased_empty_stream_context< char >
 
using werased_empty_stream_context = basic_erased_empty_stream_context< wchar_t >
 
using erased_empty_sized_stream_context = basic_erased_empty_sized_stream_context< char >
 
using werased_empty_sized_stream_context = basic_erased_empty_sized_stream_context< wchar_t >
 

Enumerations

enum  method { method::sto, method::from_chars, method::strto, method::custom }
 
enum  scan_status { scan_status::keep, scan_status::skip, scan_status::end }
 

Functions

template<typename T >
temporary< T > temp (T &&val)
 
template<typename Context , typename Visitor >
SCN_CLANG_POP SCN_CONSTEXPR14 error visit_arg (Visitor &&vis, typename Context::arg_type &arg)
 
template<typename Context , typename... Args>
Context::template
arg_store_type< Args...> 
make_args (Args &...args)
 
template<typename T >
detail::named_arg< T, char > arg (string_view name, T &arg)
 
template<typename T >
detail::named_arg< T, wchar_t > arg (wstring_view name, T &arg)
 
template<typename S , typename T , typename Char >
void arg (S, detail::named_arg< T, Char >)=delete
 
template<typename Stream , typename std::enable_if<!is_sized_stream< typename std::remove_reference< Stream >::type >::value >::type * = nullptr>
SCN_CLANG_POP erased_stream
< typename Stream::char_type > 
erase_stream (Stream &&s)
 
template<typename Stream , typename std::enable_if< is_sized_stream< typename std::remove_reference< Stream >::type >::value >::type * = nullptr>
erased_sized_stream< typename
Stream::char_type > 
erase_stream (Stream &&s)
 
template<typename CharT >
erased_stream< CharT > erase_stream (erased_stream< CharT > s)=delete
 
template<typename CharT >
erased_sized_stream< CharT > erase_stream (erased_sized_stream< CharT > s)=delete
 
template<typename... Args>
auto make_erased_stream (Args &&...a) -> decltype(erase_stream(make_stream(std::forward< Args >(a)...)))
 
template<typename CharT >
SCN_CLANG_POP
basic_std_istream_stream
< CharT > 
make_stream (std::basic_istream< CharT > &is) noexcept
 
SCN_CONSTEXPR bool is_int_from_chars_available () noexcept
 
SCN_CONSTEXPR bool is_float_from_chars_available () noexcept
 
SCN_CONSTEXPR method int_from_chars_if_available (method fallback=SCN_DEFAULT_INT_SCANNING_METHOD) noexcept
 
SCN_CONSTEXPR method float_from_chars_if_available (method fallback=SCN_DEFAULT_FLOAT_SCANNING_METHOD) noexcept
 
template<typename T >
SCN_CONSTEXPR auto from_chars_if_available (method fallback=SCN_DEFAULT_INT_SCANNING_METHOD) noexcept-> typename std::enable_if< std::is_integral< T >::value, method >::type
 
SCN_CONSTEXPR bool operator== (error a, error b) noexcept
 
SCN_CONSTEXPR bool operator!= (error a, error b) noexcept
 
template<typename T , typename U = typename std::remove_cv< typename std::remove_reference<T>::type>::type>
SCN_CLANG_POP expected< U > make_expected (T &&val)
 
template<typename Stream , typename... Args>
SCN_BEGIN_NAMESPACE scan_result scan (Stream &s, basic_string_view< typename Stream::char_type > f, Args &...a)
 
template<typename Stream , typename... Args>
scan_result scan (options opt, Stream &s, basic_string_view< typename Stream::char_type > f, Args &...a)
 
template<typename Stream , typename... Args>
scan_result scanf (Stream &s, basic_string_view< typename Stream::char_type > f, Args &...a)
 
template<typename Stream , typename... Args>
scan_result scanf (options opt, Stream &s, basic_string_view< typename Stream::char_type > f, Args &...a)
 
template<typename Stream , typename... Args>
scan_result scan (Stream &s, detail::default_t, Args &...a)
 
template<typename Stream , typename... Args>
scan_result scan (options opt, Stream &s, detail::default_t, Args &...a)
 
template<typename CharT >
SCN_CLANG_PUSH erased_stream
< CharT > & 
stdin_stream ()
 
erased_stream< char > & cstdin ()
 
erased_stream< wchar_t > & wcstdin ()
 
template<typename... Args>
SCN_CLANG_POP scan_result input (string_view f, Args &...a)
 
template<typename... Args>
scan_result input (wstring_view f, Args &...a)
 
template<typename... Args>
scan_result prompt (const char *p, string_view f, Args &...a)
 
template<typename... Args>
scan_result prompt (const wchar_t *p, wstring_view f, Args &...a)
 
template<typename T >
SCN_CONSTEXPR span< T > make_span (T *ptr, std::size_t count) noexcept
 
template<typename T >
SCN_CONSTEXPR span< T > make_span (T *first, T *last) noexcept
 
template<typename T >
SCN_CONSTEXPR span< typename
T::value_type > 
make_span (T &container) noexcept
 
template<typename CharT >
basic_null_stream< CharT > make_null_stream () noexcept
 
template<typename ContiguousContainer , typename = decltype(std::declval<ContiguousContainer&>().data(), void())>
basic_static_container_stream
< typename
ContiguousContainer::value_type,
ContiguousContainer > 
make_stream (const ContiguousContainer &c)
 
template<typename CharT >
basic_static_container_stream
< CharT, span< const CharT > > 
make_stream (span< const CharT > s) noexcept
 
template<typename CharT , size_t N>
basic_static_container_stream
< CharT, span< const CharT > > 
make_stream (const CharT(&arr)[N])
 
template<typename Iterator , typename StreamHelper = detail::iterator_stream< Iterator, typename std::iterator_traits<Iterator>::iterator_category>>
StreamHelper::type make_stream (Iterator begin, Iterator end)
 
template<typename CharT = char>
basic_cstdio_stream< CharT > make_stream (FILE *f) noexcept
 
basic_cstdio_stream< char > make_narrow_stream (FILE *f) noexcept
 
basic_cstdio_stream< wchar_t > make_wide_stream (FILE *f) noexcept
 
template<typename... Args, typename Stream >
SCN_NODISCARD std::tuple
< scan_result, Args...> 
scan (Stream &s, basic_string_view< typename Stream::char_type > f)
 
template<typename... Args, typename Stream >
SCN_NODISCARD std::tuple
< scan_result, Args...> 
scan (Stream &s, detail::default_t)
 
template<typename Stream , typename Traits , typename Allocator , typename CharT = typename Stream::char_type>
SCN_BEGIN_NAMESPACE error getline (Stream &s, std::basic_string< CharT, Traits, Allocator > &str, CharT until)
 
template<typename Stream , typename Traits , typename Allocator , typename CharT = typename Stream::char_type>
error getline (Stream &s, std::basic_string< CharT, Traits, Allocator > &str)
 
template<typename Stream , typename CharT = typename Stream::char_type>
auto ignore_all (Stream &s) -> typename std::enable_if<!is_sized_stream< Stream >::value, error >::type
 
template<typename Stream >
error ignore_until (Stream &s, typename Stream::char_type until)
 
template<typename Stream , typename CharT = typename Stream::char_type>
auto ignore_n (Stream &s, std::ptrdiff_t count) -> typename std::enable_if<!is_sized_stream< Stream >::value, error >::type
 
template<typename Stream >
error ignore_n_until (Stream &s, std::ptrdiff_t count, typename Stream::char_type until)
 
template<typename Stream , typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
expected< typename
Stream::char_type > 
getchar (Stream &s)
 
template<typename T , typename Stream >
expected< T > get_value (Stream &s)
 
template<typename Stream , typename CharT = typename Stream::char_type, typename Span = span<CharT>, typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
result< typename Span::iterator > read (Stream &stream, Span s)
 
template<typename Stream , typename Iterator , typename Predicate , typename CharT = typename Stream::char_type, typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
result< size_t > read_into_if (Stream &s, Iterator it, Predicate &&p, bool keep_final=false)
 
template<typename Stream , typename Iterator , typename Sentinel , typename Predicate , typename CharT = typename Stream::char_type, typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
result< Iterator > read_into_if (Stream &s, Iterator it, Sentinel end, Predicate &&p, bool keep_final=false)
 
template<typename Stream , typename Locale , typename Iterator >
result< size_t > read_into_until_space (Stream &s, Locale &l, Iterator it, bool keep_final=false)
 
template<typename Stream , typename Iterator , typename std::enable_if<!is_sized_stream< Stream >::value >::type * = nullptr>
error putback_range (Stream &s, Iterator begin, Iterator end)
 
template<typename Context >
SCN_CLANG_POP error skip_stream_whitespace (Context &ctx) noexcept
 
template<typename Context >
scan_result visit (Context &ctx)
 
template<typename Context >
scan_result vscan (Context &ctx)
 
scan_result vscan (erased_stream_context &)
 
scan_result vscan (werased_stream_context &)
 
scan_result vscan (erased_empty_stream_context &)
 
scan_result vscan (werased_empty_stream_context &)
 

Typedef Documentation

Definition at line 110 of file vscan.h.

template<typename CharT >
using scn::basic_erased_empty_stream_context = typedef basic_empty_context<erased_stream<CharT>>

Definition at line 107 of file vscan.h.

template<typename CharT >
using scn::basic_erased_sized_stream_context = typedef basic_context<erased_sized_stream<CharT>>

Definition at line 83 of file vscan.h.

template<typename CharT >
using scn::basic_erased_stream_context = typedef basic_context<erased_stream<CharT>>

Definition at line 80 of file vscan.h.

Definition at line 112 of file vscan.h.

Definition at line 87 of file vscan.h.

Definition at line 85 of file vscan.h.

using scn::scan_result = typedef result<int>

Definition at line 178 of file result.h.

using scn::string_view = typedef basic_string_view<char>

Definition at line 243 of file string_view.h.

using scn::u16string_view = typedef basic_string_view<char>

Definition at line 245 of file string_view.h.

using scn::u32wstring_view = typedef basic_string_view<wchar_t>

Definition at line 246 of file string_view.h.

Definition at line 114 of file vscan.h.

Definition at line 89 of file vscan.h.

Definition at line 86 of file vscan.h.

using scn::wstring_view = typedef basic_string_view<wchar_t>

Definition at line 244 of file string_view.h.

Enumeration Type Documentation

enum scn::method
strong
Enumerator
sto 
from_chars 
strto 
custom 

Definition at line 36 of file options.h.

enum scn::scan_status
strong
Enumerator
keep 
skip 
end 

Definition at line 29 of file visitor.h.

Function Documentation

template<typename T >
detail::named_arg<T, char> scn::arg ( string_view  name,
T &  arg 
)

Definition at line 389 of file context.h.

template<typename T >
detail::named_arg<T, wchar_t> scn::arg ( wstring_view  name,
T &  arg 
)

Definition at line 394 of file context.h.

template<typename S , typename T , typename Char >
void scn::arg ( ,
detail::named_arg< T, Char >   
)
delete
erased_stream<char>& scn::cstdin ( )
inline

Definition at line 127 of file scan.h.

template<typename Stream , typename std::enable_if<!is_sized_stream< typename std::remove_reference< Stream >::type >::value >::type * = nullptr>
SCN_CLANG_POP erased_stream<typename Stream::char_type> scn::erase_stream ( Stream &&  s)

Definition at line 286 of file erased_stream.h.

template<typename Stream , typename std::enable_if< is_sized_stream< typename std::remove_reference< Stream >::type >::value >::type * = nullptr>
erased_sized_stream<typename Stream::char_type> scn::erase_stream ( Stream &&  s)

Definition at line 295 of file erased_stream.h.

template<typename CharT >
erased_stream<CharT> scn::erase_stream ( erased_stream< CharT >  s)
delete
template<typename CharT >
erased_sized_stream<CharT> scn::erase_stream ( erased_sized_stream< CharT >  s)
delete
SCN_CONSTEXPR method scn::float_from_chars_if_available ( method  fallback = SCN_DEFAULT_FLOAT_SCANNING_METHOD)
inlinenoexcept

Definition at line 58 of file options.h.

template<typename T >
SCN_CONSTEXPR auto scn::from_chars_if_available ( method  fallback = SCN_DEFAULT_INT_SCANNING_METHOD) -> typename std::enable_if<std::is_integral<T>::value, method>::type
noexcept

Definition at line 65 of file options.h.

template<typename T , typename Stream >
expected<T> scn::get_value ( Stream &  s)

Definition at line 192 of file types.h.

template<typename Stream , typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
expected<typename Stream::char_type> scn::getchar ( Stream &  s)

Definition at line 186 of file types.h.

template<typename Stream , typename Traits , typename Allocator , typename CharT = typename Stream::char_type>
SCN_BEGIN_NAMESPACE error scn::getline ( Stream &  s,
std::basic_string< CharT, Traits, Allocator > &  str,
CharT  until 
)

Definition at line 32 of file types.h.

template<typename Stream , typename Traits , typename Allocator , typename CharT = typename Stream::char_type>
error scn::getline ( Stream &  s,
std::basic_string< CharT, Traits, Allocator > &  str 
)

Definition at line 48 of file types.h.

template<typename Stream , typename CharT = typename Stream::char_type>
auto scn::ignore_all ( Stream &  s) -> typename std::enable_if<!is_sized_stream<Stream>::value, error>::type

Definition at line 118 of file types.h.

template<typename Stream , typename CharT = typename Stream::char_type>
auto scn::ignore_n ( Stream &  s,
std::ptrdiff_t  count 
) -> typename std::enable_if<!is_sized_stream<Stream>::value, error>::type

Definition at line 149 of file types.h.

template<typename Stream >
error scn::ignore_n_until ( Stream &  s,
std::ptrdiff_t  count,
typename Stream::char_type  until 
)

Definition at line 169 of file types.h.

template<typename Stream >
error scn::ignore_until ( Stream &  s,
typename Stream::char_type  until 
)

Definition at line 137 of file types.h.

template<typename... Args>
SCN_CLANG_POP scan_result scn::input ( string_view  f,
Args &...  a 
)

Definition at line 140 of file scan.h.

template<typename... Args>
scan_result scn::input ( wstring_view  f,
Args &...  a 
)

Definition at line 157 of file scan.h.

SCN_CONSTEXPR method scn::int_from_chars_if_available ( method  fallback = SCN_DEFAULT_INT_SCANNING_METHOD)
inlinenoexcept

Definition at line 53 of file options.h.

SCN_CONSTEXPR bool scn::is_float_from_chars_available ( )
inlinenoexcept

Definition at line 48 of file options.h.

SCN_CONSTEXPR bool scn::is_int_from_chars_available ( )
inlinenoexcept

Definition at line 44 of file options.h.

template<typename Context , typename... Args>
Context::template arg_store_type<Args...> scn::make_args ( Args &...  args)

Definition at line 563 of file args.h.

template<typename... Args>
auto scn::make_erased_stream ( Args &&...  a) -> decltype(erase_stream(make_stream(std::forward<Args>(a)...)))

Definition at line 308 of file erased_stream.h.

template<typename T , typename U = typename std::remove_cv< typename std::remove_reference<T>::type>::type>
SCN_CLANG_POP expected<U> scn::make_expected ( T &&  val)

Definition at line 306 of file result.h.

basic_cstdio_stream<char> scn::make_narrow_stream ( FILE *  f)
inlinenoexcept

Definition at line 737 of file stream.h.

template<typename CharT >
basic_null_stream<CharT> scn::make_null_stream ( )
noexcept

Definition at line 277 of file stream.h.

template<typename T >
SCN_CONSTEXPR span<T> scn::make_span ( T *  ptr,
std::size_t  count 
)
noexcept

Definition at line 145 of file span.h.

template<typename T >
SCN_CONSTEXPR span<T> scn::make_span ( T *  first,
T *  last 
)
noexcept

Definition at line 150 of file span.h.

template<typename T >
SCN_CONSTEXPR span<typename T::value_type> scn::make_span ( T &  container)
noexcept

Definition at line 155 of file span.h.

template<typename CharT >
SCN_CLANG_POP basic_std_istream_stream<CharT> scn::make_stream ( std::basic_istream< CharT > &  is)
noexcept

Definition at line 76 of file istream.h.

template<typename ContiguousContainer , typename = decltype(std::declval<ContiguousContainer&>().data(), void())>
basic_static_container_stream<typename ContiguousContainer::value_type, ContiguousContainer> scn::make_stream ( const ContiguousContainer &  c)

Definition at line 385 of file stream.h.

template<typename CharT >
basic_static_container_stream<CharT, span<const CharT> > scn::make_stream ( span< const CharT >  s)
noexcept

Definition at line 482 of file stream.h.

template<typename CharT , size_t N>
basic_static_container_stream<CharT, span<const CharT> > scn::make_stream ( const CharT(&)  arr[N])

Definition at line 489 of file stream.h.

template<typename Iterator , typename StreamHelper = detail::iterator_stream< Iterator, typename std::iterator_traits<Iterator>::iterator_category>>
StreamHelper::type scn::make_stream ( Iterator  begin,
Iterator  end 
)

Definition at line 673 of file stream.h.

template<typename CharT = char>
basic_cstdio_stream<CharT> scn::make_stream ( FILE *  f)
noexcept

Definition at line 733 of file stream.h.

basic_cstdio_stream<wchar_t> scn::make_wide_stream ( FILE *  f)
inlinenoexcept

Definition at line 741 of file stream.h.

SCN_CONSTEXPR bool scn::operator!= ( error  a,
error  b 
)
inlinenoexcept

Definition at line 121 of file result.h.

SCN_CONSTEXPR bool scn::operator== ( error  a,
error  b 
)
inlinenoexcept

Definition at line 117 of file result.h.

template<typename... Args>
scan_result scn::prompt ( const char *  p,
string_view  f,
Args &...  a 
)

Definition at line 177 of file scan.h.

template<typename... Args>
scan_result scn::prompt ( const wchar_t *  p,
wstring_view  f,
Args &...  a 
)

Definition at line 196 of file scan.h.

template<typename Stream , typename Iterator , typename std::enable_if<!is_sized_stream< Stream >::value >::type * = nullptr>
error scn::putback_range ( Stream &  s,
Iterator  begin,
Iterator  end 
)

Definition at line 474 of file visitor.h.

template<typename Stream , typename CharT = typename Stream::char_type, typename Span = span<CharT>, typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
result< typename Span::iterator > scn::read ( Stream &  stream,
Span  s 
)

Definition at line 149 of file visitor.h.

template<typename Stream , typename Iterator , typename Predicate , typename CharT = typename Stream::char_type, typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
result< size_t > scn::read_into_if ( Stream &  s,
Iterator  it,
Predicate &&  p,
bool  keep_final = false 
)

Definition at line 185 of file visitor.h.

template<typename Stream , typename Iterator , typename Sentinel , typename Predicate , typename CharT = typename Stream::char_type, typename std::enable_if< is_sized_stream< Stream >::value >::type * = nullptr>
result< Iterator > scn::read_into_if ( Stream &  s,
Iterator  it,
Sentinel  end,
Predicate &&  p,
bool  keep_final = false 
)

Definition at line 310 of file visitor.h.

template<typename Stream , typename Locale , typename Iterator >
result<size_t> scn::read_into_until_space ( Stream &  s,
Locale &  l,
Iterator  it,
bool  keep_final = false 
)

Definition at line 459 of file visitor.h.

template<typename Stream , typename... Args>
SCN_BEGIN_NAMESPACE scan_result scn::scan ( Stream &  s,
basic_string_view< typename Stream::char_type >  f,
Args &...  a 
)

Definition at line 27 of file scan.h.

template<typename Stream , typename... Args>
scan_result scn::scan ( options  opt,
Stream &  s,
basic_string_view< typename Stream::char_type >  f,
Args &...  a 
)

Definition at line 41 of file scan.h.

template<typename Stream , typename... Args>
scan_result scn::scan ( Stream &  s,
detail::default_t  ,
Args &...  a 
)

Definition at line 90 of file scan.h.

template<typename Stream , typename... Args>
scan_result scn::scan ( options  opt,
Stream &  s,
detail::default_t  ,
Args &...  a 
)

Definition at line 102 of file scan.h.

template<typename... Args, typename Stream >
SCN_NODISCARD std::tuple<scan_result, Args...> scn::scan ( Stream &  s,
basic_string_view< typename Stream::char_type >  f 
)

Definition at line 174 of file tuple_return.h.

template<typename... Args, typename Stream >
SCN_NODISCARD std::tuple<scan_result, Args...> scn::scan ( Stream &  s,
detail::default_t   
)

Definition at line 187 of file tuple_return.h.

template<typename Stream , typename... Args>
scan_result scn::scanf ( Stream &  s,
basic_string_view< typename Stream::char_type >  f,
Args &...  a 
)

Definition at line 59 of file scan.h.

template<typename Stream , typename... Args>
scan_result scn::scanf ( options  opt,
Stream &  s,
basic_string_view< typename Stream::char_type >  f,
Args &...  a 
)

Definition at line 73 of file scan.h.

template<typename Context >
SCN_CLANG_POP error scn::skip_stream_whitespace ( Context &  ctx)
noexcept

Definition at line 1271 of file visitor.h.

template<typename CharT >
SCN_CLANG_PUSH erased_stream<CharT>& scn::stdin_stream ( )

Definition at line 122 of file scan.h.

template<typename T >
temporary<T> scn::temp ( T &&  val)

Definition at line 50 of file args.h.

template<typename Context >
scan_result scn::visit ( Context &  ctx)

Definition at line 1435 of file visitor.h.

template<typename Context , typename Visitor >
SCN_CLANG_POP SCN_CONSTEXPR14 error scn::visit_arg ( Visitor &&  vis,
typename Context::arg_type &  arg 
)

Definition at line 357 of file args.h.

template<typename Context >
scan_result scn::vscan ( Context &  ctx)

Definition at line 38 of file vscan.h.

scan_result scn::vscan ( erased_stream_context &  )
scan_result scn::vscan ( werased_stream_context &  )
scan_result scn::vscan ( erased_empty_stream_context &  )
scan_result scn::vscan ( werased_empty_stream_context &  )
erased_stream<wchar_t>& scn::wcstdin ( )
inline

Definition at line 131 of file scan.h.