Special member functions

id: special-member-functions-277-10022417
title: Special member functions
text: In the C++ programming language, special member functions are functions which the compiler will automatically generate if they are used, but not declared explicitly by the programmer. The automatically generated special member functions are: Default constructor if no other constructor is explicitly declared. Copy constructor if no move constructor and move assignment operator are explicitly declared. Move constructor if no copy constructor, copy assignment operator, move assignment operator and
brand slug: wiki
category slug: encyclopedia
description: In C++, functions which the compiler will generate automatically if not declared
original url: https://en.wikipedia.org/wiki/Special_member_functions
date created:
date modified: 2024-02-22T00:11:27Z
main entity: {"identifier":"Q7574835","url":"https://www.wikidata.org/entity/Q7574835"}
image:
fields total: 13
integrity: 14

Related Entries

Explore Next Part