Top "Virtual" questions

An extensible or simulated artifact

Mongoose virtual fields included in toJSON by default: schemaOptions.toJSON.virtuals = true; still doesn't include virtual fields by default

I saw in another answer that in order to include the virtual fields you must do like https://groups.google.…

virtual mongoose
What are the performance implications of marking methods / properties as virtual?

Question is as stated in the title: What are the performance implications of marking methods / properties as virtual? Note - …

c# performance virtual
need a virtual template member workaround

I need to write a program implementing the visitor design pattern. The problem is that the base visitor class is …

c++ templates virtual visitor
Should a virtual c++ method implementation in .cpp file be marked virtual?

I have a virtual C++ method that I'm defining in a .h file and implementing in a .cc file. Should …

c++ oop virtual function-declaration
Print address of virtual member function

I am trying to print the address of a virtual member function. If I know which class implements the function …

c++ virtual vtable
Pure virtual functions in C++11

In C++98, the null pointer was represented by the literal 0 (or in fact any constant expression whose value was zero). …

c++ c++11 virtual pure-virtual nullptr
Hide virtual keyboard on mobile with Jquery/Javascript (Mobiscroll)

There are a lot of questions about this. But they all talk about leaving the focus on a field. Here …

javascript jquery keyboard virtual mobiscroll
Pure Virtual Class and Collections (vector?)

I'm working on a graphics application that is using virtual classes fairly extensively. It has: A picture class, which is …

c++ vector virtual virtual-inheritance
Number of Virtual tables and Virtual Pointers in a C++ Program

Let say we have below program: class A { public: virtual fun(){}; }; class B:public A { public: virtual fun(){}; }; int main() { …

c++ virtual vtable vptr
Understanding virtual address and virtual address space

I read that , "When a program executes an instruction like : MOV REG,1000 , it does so to copy the contents of …

architecture operating-system virtual memory-address virtual-address-space