Re: Does boost have something like small_function (with customizable buffer size)?
Julien Blanc via Boost-users <[email protected]>
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <[email protected]> |
Le 2022-02-15 21:30, Ivan Matek via Boost-users a écrit : > I tried googling, but I found nothing. > > I presume that that means it does not exist, but it is possible it is > maybe hidden under some name I could not think of. > > I am ok with using internal header of some library in case it is code > that is covered by tests. AFAIK it does not (if, by small_function, you mean a trivially copyable general function object). We had the need for one at work and finally wrote it (so it's currently closed source, sorry). For what it's worth, it's around 100 lines of code (i guess that's one of the reason nobody submitted one to boost yet). Regards, Julien _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users