Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
グローバルなnewとdeleteは通常のように使用できますが、::演算子をプレフィックスとして付けることもでき、同じように機能します。これと同じ動作をする他のキーワードはありますか?
operatorはい、のようにキーワードをスコープすることもできます::operator+(a, b)。
operator
::operator+(a, b)
私は信じてnewおりdelete、operatorこれを可能にする標準C++の唯一のものです。
new
delete