ExtUti...ps::STL(3pm)
π NAME π
ExtUtils::Typemaps::STL β bestie, it's literally a whole set of useful typemaps for STL β¨
Ok so quick vibe check before we dive in: this manual page is from the Perl world, it's called ExtUtils::Typemaps::STL(3pm), and it's here to make your STL types play nice with Perl. Let's go π«Ά
β¨ SYNOPSIS β¨
Like, here's the whole flow, iconically:
use ExtUtils::Typemaps::STL;
# First, read my own type maps:
my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
# Then, get the STL set and merge it into my maps
my $map = ExtUtils::Typemaps::STL->new;
$private_map->merge(typemap => $map);
# Now, write the combined map to an output file
$private_map->write(file => 'typemap');
No cap, that's the entire routine: read your own map, grab the STL set, merge, write it back out. Slay π₯
π¦ DESCRIPTION π¦
ExtUtils::Typemaps::STL is a subclass of ExtUtils::Typemaps, and its whole personality is providing a few of default mappings for Standard Template Library types π
Right now β as in, currently β those default mappings are defined as the combination of the mappings provided by these typemap classes, which are all provided in this distribution:
ExtUtils::Typemaps::STL::VectorExtUtils::Typemaps::STL::StringExtUtils::Typemaps::STL::List
More are to come, and patches are welcome π (yes, that's a genuine invitation, not just me being nice)
πΈ METHODS πΈ
These are the overridden methods:
β new
Creates a new ExtUtils::Typemaps::STL object. Main character energy, tiny method body. Obsessed π
π SEE ALSO π
ExtUtils::TypemapsExtUtils::Typemaps::DefaultExtUtils::Typemaps::STL::StringExtUtils::Typemaps::STL::VectorExtUtils::Typemaps::STL::List
iykyk, go read them, they're all friends π§
π AUTHOR π
Steffen Mueller <smueller@cpan.org> π
π COPYRIGHT AND LICENSE π
Copyright 2010, 2011, 2012, 2013 by Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Lowkey important, bestie β those license terms are doing the legal heavy lifting, so keep them exactly as they are, fr fr π«Ά
And that's the whole page! Signing off with the deets: this is perl v5.36.0, dated 2022-10-21, filed under ExtUti...ps::STL(3pm) β the abbreviations are the man page's own doing, not mine ππ go forth and typemap, you've got this πβ¨π
π¦ where this page comes from
- ubuntu noble: libextutils-typemaps-default-perl 1.05-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libextutils-typemaps-default-perl 1.05-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libextutils-typemaps-default-perl 1.05-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms