1ExtUtils::Typemaps::STLU(s3e)r Contributed Perl DocumentaEtxitoUntils::Typemaps::STL(3)
2
3
4
6 ExtUtils::Typemaps::STL - A set of useful typemaps for STL
7
9 use ExtUtils::Typemaps::STL;
10 # First, read my own type maps:
11 my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
12
13 # Then, get the STL set and merge it into my maps
14 my $map = ExtUtils::Typemaps::STL->new;
15 $private_map->merge(typemap => $map);
16
17 # Now, write the combined map to an output file
18 $private_map->write(file => 'typemap');
19
21 "ExtUtils::Typemaps::STL" is an "ExtUtils::Typemaps" subclass that
22 provides a few of default mappings for Standard Template Library types.
23 These default mappings are currently defined as the combination of the
24 mappings provided by the following typemap classes which are provided
25 in this distribution:
26
27 ExtUtils::Typemaps::STL::Vector, ExtUtils::Typemaps::STL::String,
28 ExtUtils::Typemaps::STL::List
29
30 More are to come, patches are welcome.
31
33 These are the overridden methods:
34
35 new
36 Creates a new "ExtUtils::Typemaps::STL" object.
37
39 ExtUtils::Typemaps, ExtUtils::Typemaps::Default
40
41 ExtUtils::Typemaps::STL::String, ExtUtils::Typemaps::STL::Vector
42 ExtUtils::Typemaps::STL::List
43
45 Steffen Mueller <smueller@cpan.org>
46
48 Copyright 2010, 2011, 2012, 2013 by Steffen Mueller
49
50 This program is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
53
54
55perl v5.28.0 2018-07-14 ExtUtils::Typemaps::STL(3)