Retourner au contenu associé (dépêche : Un nouveau serveur httpd : Ashd, A Sane HTTP Daemon)
Posté par LupusMic (site web personnel, Mastodon) le 23 septembre 2010 à 04:15. En réponse à la dépêche Un nouveau serveur httpd : Ashd, A Sane HTTP Daemon. Évalué à 2.
// Post incrémentation T const operator ++() { T tmp(*this) ; ++*this ; return tmp ; } // Pré incrementation T const & T::operator ++(int) { // On fait l'incrémentation ici return *this }
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Sécurité ?
Posté par LupusMic (site web personnel, Mastodon) . En réponse à la dépêche Un nouveau serveur httpd : Ashd, A Sane HTTP Daemon. Évalué à 2.
// Post incrémentation
T const operator ++()
{
T tmp(*this) ;
++*this ;
return tmp ;
}
// Pré incrementation
T const & T::operator ++(int)
{
// On fait l'incrémentation ici
return *this
}