object-construction
c++ this pointer question
here is the thing, I want to (probably not the best thing to do) have the ability to call some class constructor that receives as a parameter a pointer to the class who\'s calling (ufff!!!). Well in c[详细]
2023-03-29 23:05 分类:问答Create generic class with internal constructor
Is it possible to construct an object with its internal constructor within a generic method? public abstract class FooBase { }[详细]
2023-01-14 19:25 分类:问答Should I load my Java object's data on construction, or explicitly through a method call?
This is a design question. I\'m trying to decide between 2 implementations. In order to properly explain this I need an example. So, for the sake of example:[详细]
2022-12-22 18:03 分类:问答Object construction/Forward function declaration ambiguity
Observation: the codes pasted below were tested only with GCC 4.4.1, and I\'m only interested in them working with GCC.[详细]
2022-12-20 03:40 分类:问答JavaScript: using constructor without operator 'new'
Please help me to understand why the following code works: <script> var re = RegExp(\'\\\\ba\\\\b\') ;[详细]
2022-12-14 20:42 分类:问答