Sha256: 21867ab378260d90130786f3bf6e02fbf0c7ad84832642153c751631e06722c6

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

#ifndef __ALLOC_STRATS_H__
#define __ALLOC_STRATS_H__

namespace alloc_strats {

  class NoConstructor {
    public:
      ~NoConstructor() { }

    private:
      NoConstructor() { }
  };

  class Neither {
    private:
      Neither() {}
      ~Neither() {}
    public:
      NoConstructor* getConstructor() { return 0; }

      Neither* getInstance() { return 0; }
  };
}


#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rbplusplus-0.9.1 test/headers/alloc_strats.h
rbplusplus-0.9 test/headers/alloc_strats.h