C++ Logo

STD-DISCUSSION

Advanced search

Subject: Is there any way to override constructors for primitive types?
From: Vishal Oza (vickoza_at_[hidden])
Date: 2020-02-18 09:46:29


Is there any way to override constructors for primitive types? If there is
what is the way to do that. If not I would like to purpose a way to do that
is a future standard. The reason way is to teach how C++ works from writing
simple code by logging constructor and destructor calls of even
primitive object without changing the object themselves
Vishal Oza



STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups