title: Class overhead in C++
body: <p>I have a class e.g.:</p>
  
  <pre><code>class Vehicle {
    public:
      Vehicle(int handle);
  
      // Methods that use the handle e.g.:
      Color getColor() {
          return VEHICLE::GET_COLOR(handle);
      }
  
    protected:
      int handle;
  };
  </code></pre>
  
  <p>I don't know if that example makes sense to you, but I built several wrapper classes around those handles to get a more OOP style of coding.</p>
  
  <p>So my question now is, how much overhead is there when I pass a <code>Vehicle</code> object over just passing the vehicle handle to other methods?</p>