Making operations on standard-library containers strongly exception safe

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Standard

Making operations on standard-library containers strongly exception safe. / Katajainen, Jyrki.

Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software. Vol. 07 2007. p. 158-169.

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Harvard

Katajainen, J 2007, Making operations on standard-library containers strongly exception safe. in Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software. vol. 07, pp. 158-169, Making operations on standard-library containers strongly exception safe, 29/11/2010. <http://Making operations on standard-library containers strongly exception safe>

APA

Katajainen, J. (2007). Making operations on standard-library containers strongly exception safe. In Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software (Vol. 07, pp. 158-169) http://Making operations on standard-library containers strongly exception safe

Vancouver

Katajainen J. Making operations on standard-library containers strongly exception safe. In Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software. Vol. 07. 2007. p. 158-169

Author

Katajainen, Jyrki. / Making operations on standard-library containers strongly exception safe. Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software. Vol. 07 2007. pp. 158-169

Bibtex

@inproceedings{c9501770c2fc11debda0000ea68e967b,
title = "Making operations on standard-library containers strongly exception safe",
abstract = "An operation on an element container is said to provide a strong guarantee of exception safety if, in case an exception is thrown, the operation leaves the container in the state in which it was before the operation. In this paper, we explore how to adjust operations on C++ standard-library containers to provide the strong guarantee of exception safety, instead of the default guarantee, without violating the stringent performance requirements specified in the C++ standard. In particular, we show that every strongly exception-safe operation on dynamic arrays and ordered dictionaries is only a constant factor slower than the corresponding default-guarantee operation. In terms of the amount of space, the overhead introduced is linear in the number of elements stored.",
author = "Jyrki Katajainen",
year = "2007",
language = "English",
volume = "07",
pages = "158--169",
booktitle = "Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software",
note = "null ; Conference date: 29-11-2010",

}

RIS

TY - GEN

T1 - Making operations on standard-library containers strongly exception safe

AU - Katajainen, Jyrki

PY - 2007

Y1 - 2007

N2 - An operation on an element container is said to provide a strong guarantee of exception safety if, in case an exception is thrown, the operation leaves the container in the state in which it was before the operation. In this paper, we explore how to adjust operations on C++ standard-library containers to provide the strong guarantee of exception safety, instead of the default guarantee, without violating the stringent performance requirements specified in the C++ standard. In particular, we show that every strongly exception-safe operation on dynamic arrays and ordered dictionaries is only a constant factor slower than the corresponding default-guarantee operation. In terms of the amount of space, the overhead introduced is linear in the number of elements stored.

AB - An operation on an element container is said to provide a strong guarantee of exception safety if, in case an exception is thrown, the operation leaves the container in the state in which it was before the operation. In this paper, we explore how to adjust operations on C++ standard-library containers to provide the strong guarantee of exception safety, instead of the default guarantee, without violating the stringent performance requirements specified in the C++ standard. In particular, we show that every strongly exception-safe operation on dynamic arrays and ordered dictionaries is only a constant factor slower than the corresponding default-guarantee operation. In terms of the amount of space, the overhead introduced is linear in the number of elements stored.

M3 - Article in proceedings

VL - 07

SP - 158

EP - 169

BT - Proceedings of the 3rd DIKU-IST Joint Workshop on Foundations of Software

Y2 - 29 November 2010

ER -

ID: 15401817