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::Vector
  • ExtUtils::Typemaps::STL::String
  • ExtUtils::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::Typemaps
  • ExtUtils::Typemaps::Default
  • ExtUtils::Typemaps::STL::String
  • ExtUtils::Typemaps::STL::Vector
  • ExtUtils::Typemaps::STL::List

iykyk, go read them, they're all friends 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Steffen Mueller <smueller@cpan.org> πŸ’œ


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