Back to Search Start Over

COMPREHENSIVE PERFORMANCE ANALYSIS OF C++ SMART POINTERS.

Authors :
BABATI, Bence
PATAKI, Norbert
Source :
Pollack Periodica; Dec2017, Vol. 12 Issue 3, p157-166, 10p
Publication Year :
2017

Abstract

Smart pointers play an important role in bypassing memory leaks in C++. Since C++11 standard the smart pointers have become widely-used tools because they let the programmers not to deal with memory deallocation. However, abstraction penalty occurs because of this convenience. Overhead is related to runtime, memory usage and compilation time. There are many different smart pointers in the standard library. However, the performance difference between the smart pointers and raw pointers is not measured before. This paper presents an analysis of their effectiveness. An alternative approach to the C++17's optional construct is searched for. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
17881994
Volume :
12
Issue :
3
Database :
Complementary Index
Journal :
Pollack Periodica
Publication Type :
Academic Journal
Accession number :
126128022
Full Text :
https://doi.org/10.1556/606.2017.12.3.14