mat to") using type-erased argument representation   
(function template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/utility/format/dsc_vformat_to&action=edit)  
[ formatter  ](/w/cpp/utility/format/formatter "cpp/utility/format/formatter") (C++20)  |  defines formatting rules for a given type   
(class template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/utility/format/dsc_formatter&action=edit)  
[ format_error  ](/w/cpp/utility/format/format_error "cpp/utility/format/format error") (C++20)  |  exception type thrown on formatting errors   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/utility/format/dsc_format_error&action=edit)  
  
###  [ [ edit ](/mwiki/index.php?title=cpp/utility&action=edit&section=28
"Edit section: See also") ]  See also

[ C documentation ](/w/c/utility "c/utility") for  Utility library  
---  
  
Retrieved from " [
https://en.cppreference.com/mwiki/index.php?title=cpp/utility&oldid=170741
](https://en.cppreference.com/mwiki/index.php?title=cpp/utility&oldid=170741)
"

#####  Navigation

  * [ Support us ](http://www.cppreference.com/support)
  * [ Recent changes ](/w/Special:RecentChanges "A list of recent changes in the wiki \[r\]")
  * [ FAQ ](/w/Cppreference:FAQ)
  * [ Offline version ](/w/Cppreference:Archives)

#####  Toolbox

  * [ What links here ](/w/Special:WhatLinksHere/cpp/utility "A list of all wiki pages that link here \[j\]")
  * [ Related changes ](/w/Special:RecentChangesLinked/cpp/utility "Recent changes in pages linked from this page \[k\]")
  * [ Upload file ](http://upload.cppreference.com/w/Special:Upload "Upload files \[u\]")
  * [ Special pages ](/w/Special:SpecialPages "A list of all special pages \[q\]")
  * [ Printable version ](/mwiki/index.php?title=cpp/utility&printable=yes "Printable version of this page \[p\]")
  * [ Permanent link ](/mwiki/index.php?title=cpp/utility&oldid=170741 "Permanent link to this revision of the page")
  * [ Page information ](/mwiki/index.php?title=cpp/utility&action=info)

  * In other languages 

  * [ العربية ](http://ar.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Česky ](http://cs.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Deutsch ](http://de.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Español ](http://es.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Français ](http://fr.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Italiano ](http://it.cppreference.com/w/cpp/utility "cpp/utility")
  * [ 日本語 ](http://ja.cppreference.com/w/cpp/utility "cpp/utility")
  * [ 한국어 ](http://ko.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Polski ](http://pl.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Português ](http://pt.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Русский ](http://ru.cppreference.com/w/cpp/utility "cpp/utility")
  * [ Türkçe ](http://tr.cppreference.com/w/cpp/utility "cpp/utility")
  * [ 中文 ](http://zh.cppreference.com/w/cpp/utility "cpp/utility")

  * This page was last modified on 9 April 2024, at 15:57. 
  * This page has been accessed 1,371,186 times. 

  * [ Privacy policy ](/w/Cppreference:Privacy_policy "Cppreference:Privacy policy")
  * [ About cppreference.com ](/w/Cppreference:About "Cppreference:About")
  * [ Disclaimers ](/w/Cppreference:General_disclaimer "Cppreference:General disclaimer")

  * [ ![Powered by MediaWiki](/mwiki/skins/common/images/poweredby_mediawiki_88x31.png) ](//www.mediawiki.org/) [ ![Powered by GeSHi](//upload.cppreference.com/mwiki/images/2/2b/powered_by_geshi_88x31.png) ](http://qbnz.com/highlighter/) [ ![Hosted by Tiger Technologies](//upload.cppreference.com/mwiki/images/9/94/powered_by_tigertech_88x31.png) ](http://www.tigertech.net/referral/cppreference.com)