template <typename type>
class SnglLnkLstDmHdr
{
public:
SnglLnkLstDmHdr()
{
this->Start = nullptr;
}
private:
struct Node
{
type Data;
Node *link;
};
Node *Start;
static Node *DummyHead;
};
template <typename type>
typename SnglLnkLstDmHdr<type>::Node* SnglLnkLstDmHdr<type>::DummyHead = nullptr;
int main()
{
SnglLnkLstDmHdr<int> f;
}
dGVtcGxhdGUgPHR5cGVuYW1lIHR5cGU+CmNsYXNzIFNuZ2xMbmtMc3REbUhkcgp7CnB1YmxpYzoKCVNuZ2xMbmtMc3REbUhkcigpCgl7CgkJdGhpcy0+U3RhcnQgPSBudWxscHRyOwoJfQpwcml2YXRlOgoJc3RydWN0IE5vZGUKCXsKCQl0eXBlIERhdGE7CgkJTm9kZSAqbGluazsKCX07CgoJTm9kZSAqU3RhcnQ7CglzdGF0aWMgTm9kZSAqRHVtbXlIZWFkOwp9OwoKdGVtcGxhdGUgPHR5cGVuYW1lIHR5cGU+CnR5cGVuYW1lIFNuZ2xMbmtMc3REbUhkcjx0eXBlPjo6Tm9kZSogU25nbExua0xzdERtSGRyPHR5cGU+OjpEdW1teUhlYWQgPSBudWxscHRyOwoKaW50IG1haW4oKQp7CiAgICBTbmdsTG5rTHN0RG1IZHI8aW50PiBmOwp9Cg==