Espacios de nombres
Variantes
Acciones

operator<<,>>(std::subtract_with_carry_engine)

De cppreference.com
 
 
 
Generación de números pseudoaleatorios
Motores y adaptadores de motor
Original:
Engines and engine adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Generadores
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones uniformes
Original:
Uniform distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bernoulli distribuciones
Original:
Bernoulli distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Poisson distribuciones
Original:
Poisson distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones normales
Original:
Normal distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Distribuciones de muestreo
Original:
Sampling distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Secuencias de semillas
Original:
Seed Sequences
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
C biblioteca
Original:
C library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::subtract_with_carry_engine
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Generación
Original:
Generation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Características
Original:
Characteristics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator<<operator>>
 
template< class CharT, class Traits, class ResultType,

          class UIntType, size_t w, size_t s, size_t r >
std::basic_ostream<CharT,Traits>&
    operator<<( std::basic_ostream<CharT,Traits>& ost,

                const subtract_with_carry_engine<UIntType,w,s,r>& e );
(1) (desde C++11)
template< class CharT, class Traits, class ResultType,

          class UIntType, size_t w, size_t s, size_t r >
std::basic_istream<CharT,Traits>&
    operator>>( std::basic_istream<CharT,Traits>& ist,

                subtract_with_carry_engine<UIntType,w,s,r>& e );
(2) (desde C++11)
1)
Serializa el estado interno de la e número pseudo-aleatorio motor como una secuencia de números decimales separados por uno o más espacios, y se inserta en la secuencia de ost. El carácter de relleno y las banderas de formato de la corriente se ignoran y no afectados .
Original:
Serializes the internal state of the pseudo-random number engine e as a sequence of decimal numbers separated by one or more spaces, and inserts it to the stream ost. The fill character and the formatting flags of the stream are ignored and unaffected.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Restablece el estado interno del e de números pseudo-aleatorios motor de la representación en serie, que fue creado por una llamada anterior a operator<< utilizando una corriente con la misma configuración regional imbuida y el CharT mismo y Traits. Si la entrada no se puede deserializar, e se mantiene sin cambios y failbit se alza sobre ist
Original:
Restores the internal state of the pseudo-random number engine e from the serialized representation, which was created by an earlier call to operator<< using a stream with the same imbued locale and the same CharT and Traits. If the input cannot be deserialized, e is left unchanged and failbit is raised on ist
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si una representación de texto está escrito utilizando os << x y que la representación se restaura en el mismo o un diferente y objeto del mismo tipo utilizando is >> y, entonces x==y .
Original:
If a textual representation is written using os << x and that representation is restored into the same or a different object y of the same type using is >> y, then x==y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

ost -
flujo de salida para insertar los datos para
Original:
output stream to insert the data to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ist -
flujo de entrada para extraer los datos de
Original:
input stream to extract the data from
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
e -
pseudo-aleatorio motor número
Original:
pseudo-random number engine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

1) ost
2) ist

[editar] Complejidad

[editar] Excepciones

1)
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Puede lanzar std::ios::failure al establecer failbit
Original:
May throw std::ios::failure when setting failbit
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.