mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-24 17:30:46 +02:00
MessagePack for Ruby moved to https://github.com/msgpack/msgpack
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// MessagePack for C++ static resolution routine
|
||||
//
|
||||
// Copyright (C) 2008-2009 FURUHASHI Sadayuki
|
||||
// Copyright (C) 2008-2010 FURUHASHI Sadayuki
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -124,6 +124,16 @@ private:
|
||||
with_zone();
|
||||
};
|
||||
|
||||
class managed_object : public object, private zone {
|
||||
public:
|
||||
managed_object() { }
|
||||
~managed_object() { }
|
||||
public:
|
||||
zone& get_zone() { return *(zone*)this; }
|
||||
const zone& get_zone() const { return *(const zone*)this; }
|
||||
private:
|
||||
managed_object(const managed_object&);
|
||||
};
|
||||
|
||||
bool operator==(const object x, const object y);
|
||||
bool operator!=(const object x, const object y);
|
||||
|
||||
Reference in New Issue
Block a user