◐ Shell
clean mode source ↗

std::streamoff — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<ios>

typedef /*unspecified*/ streamoff;

Le std::streamoff type est un type signé intégrante de taille suffisante pour représenter la taille de fichier maximale possible pris en charge par le système d'exploitation. Typiquement, il s'agit d'un typedef pour long long .

Original:

The type std::streamoff is a signed integral type of sufficient size to represent the maximum possible file size supported by the operating system. Typically, this is a typedef to long long.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Il est utilisé pour représenter des décalages de positions (valeurs de flux std::fpos type). Une valeur de std::streamoff -1 est également utilisé pour représenter les conditions d'erreur par certaines des fonctions de la bibliothèque d'E / S .

Original:

It is used to represent offsets from stream positions (values of type std::fpos). A std::streamoff value of -1 is also used to represent error conditions by some of the I/O library functions.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Relations avec std :: FPO

  • la différence entre deux objets std::fpos est une valeur de type de std::streamoff

    Original:

    the difference between two std::fpos objects is a value of type std::streamoff

    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

  • une valeur de std::streamoff type peut être ajouté ou soustrait std::fpos donne un std::fpos différent .

    Original:

    a value of type std::streamoff may be added or subtracted from std::fpos yielding a different std::fpos.

    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

  • une valeur de std::fpos type est implicitement convertible en std::streamoff (les résultats de la conversion dans le décalage depuis le début du fichier .

    Original:

    a value of type std::fpos is implicitly convertible to std::streamoff (the conversion results in the offset from the beginning of the file.

    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

  • une valeur de std::fpos type est constructible d'une valeur de type std::streamoff

    Original:

    a value of type std::fpos is constructible from a value of type std::streamoff

    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

Voir aussi

représente la position absolue dans un flux ou un fichier

Original:

represents absolute position in a stream or a file

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique)
sets the input position indicator
(fonction membre publique de std::basic_istream) [edit]

définit l'indicateur de position de sortie

Original:

sets the output position indicator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction membre publique de std::basic_ostream) [edit]