View Single Post
  #4   Spotlight this post!  
Unread 10-29-2016, 06:13 PM
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 800
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Syntax for 'virtual void GetDescription'?

Quote:
Originally Posted by RyZeRun View Post
Some of my post was accidentally converted to an Emoji.
I MEANT 'std:stringstream &desc'
What are you trying to do? Can you share the code that triggered this error?


GetDescription takes a reference to an ostringstream.

const = 0 means that the method is pure virtual (ie, it must be implemented in subclasses). So, you are trying to do something with an interface, not the implementation.
Reply With Quote