Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::va_list

      From cppreference.com
      <cpp‎ |utility‎ |variadic
       
       
      Utilities library
       
       
      Defined in header<cstdarg>
      typedef/* unspecified */va_list;

      va_list is a complete object type (in practice, a unique built-in type orchar*) suitable for holding the information needed by the macrosva_start,va_copy,va_arg, andva_end.

      If ava_list instance is created, passed to another function, and used viava_arg in that function, then any subsequent use in the calling function should be preceded by a call tova_end.

      It is legal to pass a pointer to ava_list object to another function and then use that object after the function returns.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      enables access to variadic function arguments
      (function macro)[edit]
      (C++11)
      makes a copy of the variadic function arguments
      (function macro)[edit]
      accesses the next variadic function argument
      (function macro)[edit]
      ends traversal of the variadic function arguments
      (function macro)[edit]
      C documentation forva_list
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/variadic/va_list&oldid=180121"

      [8]ページ先頭

      ©2009-2025 Movatter.jp