Top "Virtual" questions

An extensible or simulated artifact

Proftpd - SFTP with Virtual Users

I'm trying to configure a SFTP with Proftpd. I've successfully configured the SFTP with Unix Users, but now I'd like …

ubuntu virtual sftp proftpd
Out-of-Line Virtual Method

What exactly is a out-of-line virtual method and why does it affect link times? LLVM Coding Standards says If a …

c++ linker virtual llvm
Multiple inheritance and pure virtual functions

The following code: struct interface_base { virtual void foo() = 0; }; struct interface : public interface_base { virtual void bar() = 0; }; struct implementation_base : …

c++ virtual multiple-inheritance diamond-problem
Convert character to the corresponding virtual-key code

Currently, I'm using the method VkKeyScan in the Win32 API to convert a character to its virtual-key code. But the …

c# virtual keycode
How to check if a property is virtual with reflection?

Given an object, how can I tell if that object has virtual properties? var entity = repository.GetByID(entityId); I tried …

c# reflection virtual
A virtual display for ubuntu server

My question is: is there a way to set up a virtual display as default display on a linux server (…

virtual x11 ubuntu-server
C++ member function virtual override and overload at the same time

If I have a code like this: struct A { virtual void f(int) {} virtual void f(void*) {} }; struct B : public …

c++ inheritance polymorphism virtual
C#: What are virtual events and how can they be used?

How does a virtual event work? How would you override it? How would that work? And in what cases would …

c# events inheritance virtual
Overhead of C++ inheritance with no virtual functions

In C++, what's the overhead (memory/cpu) associated with inheriting a base class that has no virtual functions? Is it …

c++ inheritance virtual overhead
Confused about "override" vs. "new" in C#

I'm having the following classes: class Base { public virtual void Print() { Console.WriteLine("Base"); } } class Der1 : Base { public new virtual …

c# virtual overriding new-operator