[Discuss] SemiOT - Question for the C++ gurus

Adam Parkin pzelnip at gmail.com
Mon Mar 5 08:06:17 PST 2007


pw wrote:
> Is this your homework............?

Well if you consider a C++ wrapper class for the GNU C Readline library 
routines to be (hopefully) eventually used in your grad supervisors 
research work to be homework, then yes, it is. =;->

>       ///should set this to a default array value
>       static std::vector<std::string> m_vec;
> 
>       myvec(std::vector<std::string> vecIn = m_vec):privVec(vecIn){ }

Is that the only way though, to create a separate "dummy" vector?

Thanks....
-- 
--
Adam Parkin
E-mail: pzelnip at gmail.com
Blog: http://www.gamertagblog.com/blog/333
----------------------
If the cultivation of the understanding consists in one thing more than 
in another, it is surely in learning the grounds of one's own opinions.

	-- John Stuart Mill, On Liberty


More information about the Discuss mailing list