R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/
165943005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19498
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
explicit zone_allocator(Zone* zone) throw() : zone_(zone) {}
explicit zone_allocator(const zone_allocator& other) throw()
: zone_(other.zone_) {}
- template<typename U> zone_allocator(const zone_allocator<U>&) throw() {}
+ template<typename U> zone_allocator(const zone_allocator<U>& other) throw()
+ : zone_(other.zone_) {}
+ template<typename U> friend class zone_allocator;
pointer address(reference x) const {return &x;}
const_pointer address(const_reference x) const {return &x;}
}
private:
+ zone_allocator();
Zone* zone_;
};