RT#83929: fix memory leak in union types
[gitmo/Moose.git] / lib / Moose / Meta / Instance.pm
1
2 package Moose::Meta::Instance;
3
4 use strict;
5 use warnings;
6
7 use Class::MOP::MiniTrait;
8
9 use base "Class::MOP::Instance";
10
11 Class::MOP::MiniTrait::apply(__PACKAGE__, 'Moose::Meta::Object::Trait');
12
13 1;
14
15 # ABSTRACT: The Moose Instance metaclass
16
17 __END__
18
19 =pod
20
21 =head1 SYNOPSIS
22
23     # nothing to see here
24
25 =head1 DESCRIPTION
26
27 This class provides the low level data storage abstractions for
28 attributes.
29
30 Using this API directly in your own code violates encapsulation, and
31 we recommend that you use the appropriate APIs in
32 L<Moose::Meta::Class> and L<Moose::Meta::Attribute> instead. Those
33 APIs in turn call the methods in this class as appropriate.
34
35 At present, this is an empty subclass of L<Class::MOP::Instance>, so
36 you should see that class for all API details.
37
38 =head1 INHERITANCE
39
40 C<Moose::Meta::Instance> is a subclass of L<Class::MOP::Instance>.
41
42 =head1 BUGS
43
44 See L<Moose/BUGS> for details on reporting bugs.
45
46 =cut