std::fpos_t(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸŽ€ std::fpos_t(3) πŸŽ€

okay so welcome to the C++ Standard Libary manual, bestie β€” yes we're doing <std::fpos_t> today and it's lowkey iconic ✨


πŸ’– NAME πŸ’–

std::fpos_t - std::fpos_t. that's it, that's the name, no notes πŸ’…

✨ Synopsis ✨

Defined in header <cstdio>:

typedef /* implementation-defined */ fpos_t;

std::fpos_t is a non-array complete object type, can be used to store (by std::fgetpos) and restore (by std::fsetpos) the position and multibyte parser state (if any) for a C stream. 🫢

The multibyte parser state of a wide-oriented C stream is represented by a std::mbstate_t object, whose value is stored as part of the value of a std::fpos_t object by std::fgetpos. 🧚

πŸ¦‹ See also πŸ¦‹

  • fgetpos β€” gets the file position indicator (function) πŸ”₯
  • fsetpos β€” moves the file position indicator to a specific location in a file (function) πŸ’«
  • mbstate_t β€” conversion state information necessary to iterate multibyte character strings (class) 🌈
  • fpos β€” represents absolute position in a stream or a file (class template) πŸ‘‘
  • C documentation for fpos_t 🌸

mwah πŸ’‹ source: http://cppreference.com β€” version/date: 2024.06.10 β€” page: std::fpos_t(3). bye bestie, go store and restore those stream positions fr fr 🫢✨

πŸ“¦ where this page comes from