$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Kevin Yuan (farproc_at_[hidden])
Date: 2007-04-04 22:34:06
> 2007/4/4, Martin Bonner <Martin.Bonner_at_[hidden]>:
> Static variable in an inline function.
>
Yes, I agree. Something like:
// st.h
class st
{
private:
st(){}
public:
static st* get_instance()
{
static st* inst = new st;
return inst;
}
};