Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::range_format(3)	      C++ Standard Libary	  std::range_format(3)

NAME
       std::range_format - std::range_format

Synopsis
	  Defined in header <format>
	  enum class range_format {

	      disabled,
	      map,
	      set,		      (since C++23)
	      sequence,
	      string,
	      debug_string

	  };

	  Specifies how	a range	should be formatted.

	  Constant     Explanation
	  disabled     disallows range default formatter to format range
		       allows to format	range as map representation with modi-
       fied brackets
	  map		"{",  "}"  and separator ": " for underlying pair-like
       types in	the
		       following format:
		       { key-1 : value-1, ..., key-n : value-n }
		       allows to format	range as set representation with modi-
       fied brackets "{"
	  set	       and "}" in the following	format:
		       { key-1,	..., key-n }
		       allows to format	range as sequence representation  with
       default brackets
	  sequence     "[", "]"	and separator ", " in the following format:
		       [ element-1, ..., element-n ]
	  string       allows to format	range as string
	  debug_string allows to format	range as escaped string

See also
	  formatter   defines formatting rules for a given type
	  (C++20)     (class template)
	  format_kind selects a	suited std::range_format for a range
	  (C++23)     (variable	template)

http://cppreference.com		  2024.06.10		  std::range_format(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::range_format&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help