Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 199

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 214

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 228

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 256

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 362

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 383

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 126

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 127

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 133

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 140

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 70

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 80

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 75

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 117

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 90

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 624

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 629

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 639

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 634

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 649

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 644

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 659

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 672

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 681

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 685

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/cppe.ru/www/includes/Message.php on line 159

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/cppe.ru/www/includes/RawMessage.php on line 34

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /var/www/cppe.ru/www/includes/context/RequestContext.php on line 354

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /var/www/cppe.ru/www/includes/parser/Parser.php on line 280

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/Feed.php on line 232

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/Feed.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?action=history&feed=atom&title=C%2B%2B%2FOverload%2FPlus
C++/Overload/Plus - История изменений 2026-11-08T04:35:14Z История изменений этой страницы в вики MediaWiki 1.30.0
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PoolCounterWorkViaCallback::$poolCounter is deprecated in /var/www/cppe.ru/www/includes/poolcounter/PoolCounterWork.php on line 39

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property BlockLevelPass::$lineStart is deprecated in /var/www/cppe.ru/www/includes/parser/BlockLevelPass.php on line 60

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?title=C%2B%2B/Overload/Plus&diff=1991&oldid=prev
в 14:21, 25 мая 2010 2010-05-25T14:21:06Z <p></p> <table class="diff diff-contentalign-left" data-mw="interface"> <tr style="vertical-align: top;" lang="ru"> <td colspan="1" style="background-color: white; color:black; text-align: center;">← Предыдущая</td> <td colspan="1" style="background-color: white; color:black; text-align: center;">Версия 14:21, 25 мая 2010</td> </tr><tr><td colspan="2" style="text-align: center;" lang="ru"><div class="mw-diff-empty">(нет различий)</div> </td></tr></table>

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?title=C%2B%2B/Overload/Plus&diff=1992&oldid=prev
Admin: 1 версия:&#32;Импорт контента... 2010-05-25T10:28:22Z <p>1 версия: Импорт контента...</p> <p><b>Новая страница</b></p><div>==additional meanings for the + and = operations==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt; <br /> #include &lt;string.h&gt; <br /> using namespace std;<br /> class str_type { <br /> char string[80]; <br /> public: <br /> str_type(char *str = &quot;\0&quot;) { strcpy(string, str); } <br /> <br /> str_type operator+(str_type str); <br /> str_type operator+(char *str); <br /> <br /> str_type operator=(str_type str); <br /> str_type operator=(char *str); <br /> <br /> void show_str(void) { cout &lt;&lt; string; } <br /> } ; <br /> <br /> str_type str_type::operator+(str_type str) { <br /> str_type temp; <br /> <br /> strcpy(temp.string, string); <br /> strcat(temp.string, str.string); <br /> return temp; <br /> } <br /> <br /> str_type str_type::operator=(str_type str) { <br /> strcpy(string, str.string); <br /> return *this; <br /> } <br /> <br /> str_type str_type::operator=(char *str) <br /> { <br /> str_type temp; <br /> <br /> strcpy(string, str); <br /> strcpy(temp.string, string); <br /> return temp; <br /> } <br /> <br /> str_type str_type::operator+(char *str) <br /> { <br /> str_type temp; <br /> <br /> strcpy(temp.string, string); <br /> strcat(temp.string, str); <br /> return temp; <br /> } <br /> <br /> main(void) <br /> { <br /> str_type a(&quot;Hello &quot;), b(&quot;There&quot;), c; <br /> <br /> c = a + b; <br /> <br /> c.show_str(); <br /> cout &lt;&lt; &quot;\n&quot;; <br /> <br /> a = &quot;to program in because&quot;; <br /> a.show_str(); <br /> cout &lt;&lt; &quot;\n&quot;; <br /> <br /> b = c = &quot;C++ is fun&quot;; <br /> <br /> c = c+&quot; &quot;+a+&quot; &quot;+b; <br /> c.show_str(); <br /> <br /> return 0; <br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==Define operator +(plus) and cast to double operator==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> using namespace std;<br /> class Power {<br /> double b;<br /> int e;<br /> double val;<br /> public:<br /> Power(double base, int exp);<br /> Power operator+(Power obj) {<br /> double base;<br /> int exp; <br /> base = b + obj.b;<br /> exp = e + obj.e;<br /> Power temp(base, exp);<br /> return temp;<br /> }<br /> operator double(void) {return val;} <br /> };<br /> Power::Power(double base, int exp){<br /> b = base;<br /> e = exp;<br /> val = 1;<br /> if (exp!=0)<br /> while(exp-- &gt; 0)<br /> val *= b;<br /> }<br /> int main(void){<br /> Power pwr1(4.0, 2);<br /> double doub1;<br /> doub1 = pwr1; <br /> cout &lt;&lt; (doub1 + 100.2) &lt;&lt; endl;<br /> Power pwr2(3.3, 3), pwr3(0,0);<br /> pwr3 = pwr1 + pwr2; <br /> doub1 = pwr3; <br /> cout &lt;&lt; doub1;<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==Friendly operator+==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> #include &lt;string.h&gt;<br /> using namespace std;<br /> class String{<br /> public:<br /> String();<br /> String(const char *const);<br /> String(const String &amp;);<br /> ~String();<br /> char &amp; operator[](int offset);<br /> char operator[](int offset) const;<br /> String operator+(const String&amp;);<br /> friend String operator+(const String&amp;, const String&amp;);<br /> void operator+=(const String&amp;);<br /> String &amp; operator= (const String &amp;);<br /> int GetLen()const { return itsLen; }<br /> const char * GetString() const { return itsString; }<br /> private:<br /> String (int);<br /> char * itsString;<br /> unsigned short itsLen;<br /> };<br /> String::String()<br /> {<br /> itsString = new char[1];<br /> itsString[0] = &quot;\0&quot;;<br /> itsLen=0;<br /> }<br /> String::String(int len)<br /> {<br /> itsString = new char[len+1];<br /> for (int i = 0; i&lt;=len; i++)<br /> itsString[i] = &quot;\0&quot;;<br /> itsLen=len;<br /> }<br /> String::String(const char * const cString)<br /> {<br /> itsLen = strlen(cString);<br /> itsString = new char[itsLen+1];<br /> for (int i = 0; i&lt;itsLen; i++)<br /> itsString[i] = cString[i];<br /> itsString[itsLen]=&quot;\0&quot;;<br /> }<br /> String::String (const String &amp; rhs)<br /> {<br /> itsLen=rhs.GetLen();<br /> itsString = new char[itsLen+1];<br /> for (int i = 0; i&lt;itsLen;i++)<br /> itsString[i] = rhs[i];<br /> itsString[itsLen] = &quot;\0&quot;;<br /> }<br /> String::~String ()<br /> {<br /> delete [] itsString;<br /> itsLen = 0;<br /> }<br /> String&amp; String::operator=(const String &amp; rhs)<br /> {<br /> if (this == &amp;rhs)<br /> return *this;<br /> delete [] itsString;<br /> itsLen=rhs.GetLen();<br /> itsString = new char[itsLen+1];<br /> for (int i = 0; i&lt;itsLen;i++)<br /> itsString[i] = rhs[i];<br /> itsString[itsLen] = &quot;\0&quot;;<br /> return *this;<br /> }<br /> char &amp; String::operator[](int offset)<br /> {<br /> if (offset &gt; itsLen)<br /> return itsString[itsLen-1];<br /> else<br /> return itsString[offset];<br /> }<br /> char String::operator[](int offset) const<br /> {<br /> if (offset &gt; itsLen)<br /> return itsString[itsLen-1];<br /> else<br /> return itsString[offset];<br /> }<br /> String String::operator+(const String&amp; rhs)<br /> {<br /> int totalLen = itsLen + rhs.GetLen();<br /> String temp(totalLen);<br /> int i, j;<br /> for (i = 0; i&lt;itsLen; i++)<br /> temp[i] = itsString[i];<br /> for (j = 0, i = itsLen; j&lt;rhs.GetLen(); j++, i++)<br /> temp[i] = rhs[j];<br /> temp[totalLen]=&quot;\0&quot;;<br /> return temp;<br /> }<br /> String operator+(const String&amp; lhs, const String&amp; rhs)<br /> {<br /> int totalLen = lhs.GetLen() + rhs.GetLen();<br /> String temp(totalLen);<br /> int i, j;<br /> for (i = 0; i&lt;lhs.GetLen(); i++)<br /> temp[i] = lhs[i];<br /> for (j = 0, i = lhs.GetLen(); j&lt;rhs.GetLen(); j++, i++)<br /> temp[i] = rhs[j];<br /> temp[totalLen]=&quot;\0&quot;;<br /> return temp;<br /> }<br /> int main()<br /> {<br /> String s1(&quot;String One &quot;);<br /> String s2(&quot;String Two &quot;);<br /> char *c1 = { &quot;C-String One &quot; } ;<br /> String s3;<br /> String s4;<br /> String s5;<br /> cout &lt;&lt; &quot;s1: &quot; &lt;&lt; s1.GetString() &lt;&lt; endl;<br /> cout &lt;&lt; &quot;s2: &quot; &lt;&lt; s2.GetString() &lt;&lt; endl;<br /> cout &lt;&lt; &quot;c1: &quot; &lt;&lt; c1 &lt;&lt; endl;<br /> s3 = s1 + s2;<br /> cout &lt;&lt; &quot;s3: &quot; &lt;&lt; s3.GetString() &lt;&lt; endl;<br /> s4 = s1 + c1;<br /> cout &lt;&lt; &quot;s4: &quot; &lt;&lt; s4.GetString() &lt;&lt; endl;<br /> s5 = c1 + s2;<br /> cout &lt;&lt; &quot;s5: &quot; &lt;&lt; s5.GetString() &lt;&lt; endl;<br /> return 0;<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==friend overloaded + operator==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt; <br /> using namespace std; <br /> class Distance{ <br /> private: <br /> int feet; <br /> float inches; <br /> public: <br /> Distance(){ <br /> feet = 0; <br /> inches = 0.0; <br /> } <br /> Distance( float fltfeet ){ <br /> feet = int(fltfeet); <br /> inches = 12*(fltfeet-feet);<br /> } <br /> Distance(int ft, float in){ <br /> feet = ft; <br /> inches = in; <br /> } <br /> void showdist(){ <br /> cout &lt;&lt; feet &lt;&lt; &quot;\&quot;-&quot; &lt;&lt; inches &lt;&lt; &quot;\&quot;&quot;; <br /> } <br /> friend Distance operator + (Distance, Distance); <br /> };<br /> Distance operator + (Distance d1, Distance d2){ <br /> int f = d1.feet + d2.feet; <br /> float i = d1.inches + d2.inches; <br /> if(i &gt;= 12.0){ <br /> i -= 12.0; f++; <br /> } <br /> return Distance(f,i); <br /> } <br /> int main(){ <br /> Distance d1 = 2.5;<br /> Distance d2 = 1.25;<br /> Distance d3; <br /> cout &lt;&lt; &quot;\nd1 = &quot;; <br /> d1.showdist(); <br /> cout &lt;&lt; &quot;\nd2 = &quot;; <br /> d2.showdist(); <br /> <br /> d3 = d1 + 10.0;<br /> cout &lt;&lt; &quot;\nd3 = &quot;; d3.showdist(); <br /> d3 = 10.0 + d1;<br /> cout &lt;&lt; &quot;\nd3 = &quot;; d3.showdist(); <br /> cout &lt;&lt; endl; <br /> return 0; <br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==+ is overloaded for three_d + three_d and for three_d + int.==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> using namespace std;<br /> class three_d {<br /> int x, y, z;<br /> public:<br /> three_d() { x = y = z = 0; }<br /> three_d(int i, int j, int k) { x = i; y = j; z = k; }<br /> // Add two three_d objects together.<br /> three_d operator+(three_d rh_op);<br /> // Add an integer to a three_d object.<br /> three_d operator+(int rh_op);<br /> // Subtract two three_d objects.<br /> three_d operator-(three_d rh_op);<br /> // Overload assignment.<br /> three_d operator=(three_d rh_op);<br /> // Overload ==.<br /> bool operator==(three_d rh_op);<br /> // Overload - for unary operation.<br /> three_d operator-();<br /> // Let the overloaded inserter be a friend.<br /> friend ostream &amp;operator&lt;&lt;(ostream &amp;strm, three_d op);<br /> // Let the overloaded + be a friend.<br /> friend three_d operator+(int lh_op, three_d rh_op);<br /> };<br /> // Overload binary + so that corresponding coordinates are added.<br /> three_d three_d::operator+(three_d rh_op)<br /> {<br /> three_d temp;<br /> temp.x = x + rh_op.x;<br /> temp.y = y + rh_op.y;<br /> temp.z = z + rh_op.z;<br /> return temp;<br /> }<br /> // Overload binary + so that an integer can be added to a three_d object.<br /> three_d three_d::operator+(int rh_op)<br /> {<br /> three_d temp;<br /> temp.x = x + rh_op;<br /> temp.y = y + rh_op;<br /> temp.z = z + rh_op;<br /> return temp;<br /> }<br /> // Overload binary - so that corresponding coordinates are subtracted.<br /> three_d three_d::operator-(three_d rh_op)<br /> {<br /> three_d temp;<br /> temp.x = x - rh_op.x;<br /> temp.y = y - rh_op.y;<br /> temp.z = z - rh_op.z;<br /> return temp;<br /> }<br /> // Overload unary - so that it negates the coordinates.<br /> three_d three_d::operator-()<br /> {<br /> three_d temp;<br /> temp.x = -x;<br /> temp.y = -y;<br /> temp.z = -z;<br /> return temp;<br /> }<br /> // Overload assignment for three_d.<br /> three_d three_d::operator=(three_d rh_op)<br /> {<br /> x = rh_op.x;<br /> y = rh_op.y;<br /> z = rh_op.z;<br /> return *this;<br /> }<br /> // Overload == for a three_d object.<br /> bool three_d::operator==(three_d rh_op)<br /> {<br /> if( (x == rh_op.x) &amp;&amp; (y == rh_op.y) &amp;&amp; (z == rh_op.z) )<br /> return true;<br /> return false;<br /> }<br /> // These are non-member operator functions.<br /> //<br /> // Overload &lt;&lt; as a custom inserter for three_d objects.<br /> ostream &amp;operator&lt;&lt;(ostream &amp;strm, three_d op) {<br /> strm &lt;&lt; op.x &lt;&lt; &quot;, &quot; &lt;&lt; op.y &lt;&lt; &quot;, &quot; &lt;&lt; op.z &lt;&lt; endl;<br /> return strm;<br /> }<br /> // Overload + for int + obj.<br /> three_d operator+(int lh_op, three_d rh_op) {<br /> three_d temp;<br /> temp.x = lh_op + rh_op.x;<br /> temp.y = lh_op + rh_op.y;<br /> temp.z = lh_op + rh_op.z;<br /> return temp;<br /> }<br /> int main()<br /> {<br /> three_d objA(1, 2, 3), objB(10, 10, 10), objC;<br /> cout &lt;&lt; &quot;This is objA: &quot; &lt;&lt; objA;<br /> cout &lt;&lt; &quot;This is objB: &quot; &lt;&lt; objB;<br /> // Obtain the negation of objA.<br /> objC = -objA;<br /> cout &lt;&lt; &quot;This is -objA: &quot; &lt;&lt; objC;<br /> // Add objA and objB together.<br /> objC = objA + objB;<br /> cout &lt;&lt; &quot;objA + objB: &quot; &lt;&lt; objC;<br /> // Subtract objB from objA.<br /> objC = objA - objB;<br /> cout &lt;&lt; &quot;objA - objB: &quot; &lt;&lt; objC;<br /> // Add obj + int.<br /> objC = objA + 10;<br /> cout &lt;&lt; &quot;objA + 10: &quot; &lt;&lt; objC;<br /> // Add int + obj.<br /> objC = 100 + objA;<br /> cout &lt;&lt; &quot;100 + objA: &quot; &lt;&lt; objC;<br /> // Compare two objects.<br /> if(objA == objB) cout &lt;&lt; &quot;objA is equal to objB.\n&quot;;<br /> else cout &lt;&lt; &quot;objA is not equal to objB.\n&quot;;<br /> return 0;<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==overloaded &quot;+&quot; operator adds two Distances==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> using namespace std;<br /> class Distance<br /> {<br /> private:<br /> int feet;<br /> float inches;<br /> public:<br /> Distance() : feet(0), inches(0.0){ }<br /> Distance(int ft, float in) : feet(ft), inches(in) { }<br /> void getdist(){<br /> cout &lt;&lt; &quot;\nEnter feet: &quot;; cin &gt;&gt; feet;<br /> cout &lt;&lt; &quot;Enter inches: &quot;; cin &gt;&gt; inches;<br /> }<br /> void showdist() const { cout &lt;&lt; feet &lt;&lt; &quot;\&quot;-&quot; &lt;&lt; inches &lt;&lt; &quot;\&quot;&quot;; }<br /> Distance operator + ( Distance ) const;<br /> };<br /> Distance Distance::operator + (Distance d2) const{<br /> int f = feet + d2.feet;<br /> float i = inches + d2.inches;<br /> if(i &gt;= 12.0){<br /> i -= 12.0;<br /> f++;<br /> }<br /> return Distance(f,i);<br /> }<br /> int main() {<br /> Distance dist1, dist3, dist4;<br /> dist1.getdist();<br /> Distance dist2(11, 6.25);<br /> dist3 = dist1 + dist2;<br /> dist4 = dist1 + dist2 + dist3;<br /> cout &lt;&lt; &quot;dist1 = &quot;; dist1.showdist(); cout &lt;&lt; endl;<br /> cout &lt;&lt; &quot;dist2 = &quot;; dist2.showdist(); cout &lt;&lt; endl;<br /> cout &lt;&lt; &quot;dist3 = &quot;; dist3.showdist(); cout &lt;&lt; endl;<br /> cout &lt;&lt; &quot;dist4 = &quot;; dist4.showdist(); cout &lt;&lt; endl;<br /> return 0;<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==overloaded &quot;+&quot; operator concatenates strings==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> using namespace std;<br /> #include &lt;string.h&gt;<br /> #include &lt;stdlib.h&gt;<br /> class String{<br /> private:<br /> enum { SZ=80 };<br /> char str[SZ];<br /> public:<br /> String() { strcpy(str, &quot;&quot;); }<br /> String( char s[] ) { strcpy(str, s); }<br /> void display() const { cout &lt;&lt; str; }<br /> String operator + (String ss) const {<br /> String temp;<br /> if( strlen(str) + strlen(ss.str) &lt; SZ ){<br /> strcpy(temp.str, str);<br /> strcat(temp.str, ss.str);<br /> }else{<br /> cout &lt;&lt; &quot;\nString overflow&quot;; exit(1);<br /> }<br /> return temp;<br /> }<br /> };<br /> int main(){<br /> String s1 = &quot;aaa &quot;;<br /> String s2 = &quot;bbb&quot;;<br /> String s3;<br /> s1.display();<br /> s2.display();<br /> s3.display();<br /> s3 = s1 + s2;<br /> s3.display();<br /> return 0;<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==Overload + for &quot;ob + int&quot; as well as &quot;ob + ob&quot;.==<br /> <br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> using namespace std;<br /> class MyClass {<br /> int x, y; <br /> public:<br /> MyClass() { <br /> x=0; <br /> y=0; <br /> }<br /> MyClass(int i, int j) { <br /> x=i; <br /> y=j; <br /> }<br /> void getXY(int &amp;i, int &amp;j) { <br /> i=x; <br /> j=y; <br /> }<br /> MyClass operator+(MyClass object2); // ob + ob<br /> MyClass operator+(int i); // ob + int<br /> };<br /> // Overload + relative to MyClass class.<br /> MyClass MyClass::operator+(MyClass object2)<br /> {<br /> MyClass temp;<br /> temp.x = x + object2.x;<br /> temp.y = y + object2.y;<br /> return temp;<br /> }<br /> // Overload + for ob + int<br /> MyClass MyClass::operator+(int i)<br /> {<br /> MyClass temp;<br /> temp.x = x + i;<br /> temp.y = y + i;<br /> return temp;<br /> }<br /> int main()<br /> {<br /> MyClass object1(10, 10), object2(5, 3), object3;<br /> int x, y;<br /> object3 = object1 + object2; // add two objects - this calls operator+(MyClass)<br /> object3.getXY(x, y);<br /> cout &lt;&lt; &quot;(object1+object2) X: &quot; &lt;&lt; x &lt;&lt; &quot;, Y: &quot; &lt;&lt; y &lt;&lt; endl;<br /> object3 = object1 + 100; // add object + int - this call operator+(int)<br /> object3.getXY(x, y);<br /> cout &lt;&lt; &quot;(object1+100) X: &quot; &lt;&lt; x &lt;&lt; &quot;, Y: &quot; &lt;&lt; y &lt;&lt; endl;<br /> return 0;<br /> }<br /> <br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==Overloading the + (or any other binary operator) using a friend allows a built-in type to occur on the left or right side of the operator.==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt; <br /> using namespace std;<br /> class MyClass { <br /> public: <br /> int count; <br /> MyClass operator=(int i); <br /> friend MyClass operator+(MyClass ob, int i); <br /> friend MyClass operator+(int i, MyClass ob); <br /> }; <br /> <br /> MyClass MyClass::operator=(int i) <br /> { <br /> count = i; <br /> return *this; <br /> } <br /> <br /> // This handles ob + int. <br /> MyClass operator+(MyClass ob, int i) <br /> { <br /> MyClass temp; <br /> <br /> temp.count = ob.count + i; <br /> return temp; <br /> } <br /> <br /> // This handles int + ob. <br /> MyClass operator+(int i, MyClass ob) <br /> { <br /> MyClass temp; <br /> <br /> temp.count = ob.count + i; <br /> return temp; <br /> } <br /> <br /> main(void) <br /> { <br /> MyClass obj; <br /> obj = 10; <br /> cout &lt;&lt; obj.count &lt;&lt; &quot; &quot;; <br /> <br /> obj = 10 + obj; <br /> cout &lt;&lt; obj.count &lt;&lt; &quot; &quot;; <br /> <br /> obj = obj + 12; <br /> cout &lt;&lt; obj.count;<br /> <br /> return 0; <br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==overload the &quot;+&quot; operator so that several angles, in the format degrees minutes seconds, can be added directly.==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> #include &lt;stdlib.h&gt;<br /> #include &lt;string.h&gt;<br /> using namespace std;<br /> int totaldegrees, totalminutes, totalseconds;<br /> class angle_value {<br /> int degrees, minutes, seconds;<br /> <br /> public:<br /> angle_value() {degrees=0,minutes=0, seconds=0;} // constructor<br /> angle_value(char *);<br /> angle_value operator +(angle_value);<br /> };<br /> angle_value::angle_value(char *angle_sum)<br /> {<br /> degrees=atoi(strtok(angle_sum,&quot;d&quot;));<br /> minutes=atoi(strtok(0,&quot;m&quot;));<br /> seconds=atoi(strtok(0,&quot;s&quot;));<br /> }<br /> <br /> angle_value angle_value::operator+(angle_value angle_sum){<br /> angle_value ang;<br /> ang.seconds=(seconds+angle_sum.seconds)%60;<br /> ang.minutes=((seconds+angle_sum.seconds)/60+ minutes+angle_sum.minutes)%60;<br /> ang.degrees=((seconds+angle_sum.seconds)/60+ minutes+angle_sum.minutes)/60;<br /> ang.degrees+=degrees+angle_sum.degrees;<br /> totaldegrees=ang.degrees;<br /> totalminutes=ang.minutes;<br /> totalseconds=ang.seconds;<br /> return ang;<br /> }<br /> main()<br /> {<br /> char str1[] = &quot;37d 15m 56s&quot;;<br /> angle_value angle1(str1); <br /> <br /> char str2[] = &quot;10d 44m 44s&quot;;<br /> angle_value angle2(str2);<br /> <br /> char str3[] = &quot;75d 17m 59s&quot;;<br /> angle_value angle3(str3);<br /> <br /> char str4[] = &quot;130d 32m 54s&quot;;<br /> angle_value angle4(str4);<br /> <br /> angle_value sum_of_angles;<br /> sum_of_angles=angle1+angle2+angle3+angle4;<br /> cout &lt;&lt; &quot;The sum of the angles is &quot; &lt;&lt; totaldegrees &lt;&lt; &quot;d &quot;<br /> &lt;&lt; totalminutes &lt;&lt; &quot;m &quot; &lt;&lt; totalseconds &lt;&lt; &quot;s&quot; &lt;&lt; endl;<br /> return (0);<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==Overload the + relative to MyClass.==<br /> <br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> using namespace std;<br /> class MyClass {<br /> int x, y; <br /> public:<br /> MyClass() { <br /> x=0; <br /> y=0; <br /> }<br /> MyClass(int i, int j) { <br /> x=i; <br /> y=j; <br /> }<br /> void getXY(int &amp;i, int &amp;j) { <br /> i=x; <br /> j=y; <br /> }<br /> MyClass operator+(MyClass object2);<br /> };<br /> // Overload + <br /> MyClass MyClass::operator+(MyClass object2)<br /> {<br /> MyClass temp;<br /> temp.x = x + object2.x;<br /> temp.y = y + object2.y;<br /> return temp;<br /> }<br /> int main()<br /> {<br /> MyClass object1(10, 10), object2(5, 3), object3;<br /> int x, y;<br /> object3 = object1 + object2; // add two objects - this calls operator+()<br /> object3.getXY(x, y);<br /> cout &lt;&lt; &quot;(object1+object2) X: &quot; &lt;&lt; x &lt;&lt; &quot;, Y: &quot; &lt;&lt; y &lt;&lt; endl;<br /> return 0;<br /> }<br /> <br /> <br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==String class with custom +/- operator==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> #include &lt;iostream&gt;<br /> #include &lt;iomanip&gt;<br /> #include &lt;string.h&gt;<br /> using namespace std;<br /> class String <br /> {<br /> public: <br /> char *operator +(char *append_str)<br /> { return(strcat(buffer, append_str)); };<br /> <br /> char *operator -(char letter);<br /> String(char *string) <br /> { strcpy(buffer, string); <br /> length = strlen(buffer); <br /> }<br /> void show_string() { cout &lt;&lt; buffer; };<br /> private:<br /> char buffer[256];<br /> int length;<br /> };<br /> int main(void){<br /> String title(&quot;A&quot;);<br /> title = title + &quot;Programmer&quot;s Bible\n&quot;;<br /> title.show_string();<br /> }<br /> <br /> <br /> <br /> &lt;/source&gt;</div> Admin

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48