std::function / STL usage?

Post here first, or if you can't find a relevant section!
Post Reply
Posts: 20
Joined: Wed Jan 15, 2020 8:36 pm

std::function / STL usage?

Post by Bambo »


I noticed in the new version of STM32duino version 1.9.0 that in the file WInterrupts.h, the std::function() is used. How does this compile? i thought that Arduino doesn't support STL?

Posts: 123
Joined: Mon Feb 24, 2020 8:17 pm
Answers: 8

Re: std::function / STL usage?

Post by stas2z »

With arm gcc it supports most stl features (except some thread/mutex related at least)

Posts: 134
Joined: Thu Dec 19, 2019 1:23 am

Re: std::function / STL usage?

Post by mrburnette »

User avatar
Posts: 478
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 15
Location: Le Mans

Re: std::function / STL usage?

Post by fpiSTM »

STL usage and std::function can be used since a while with the core: ... 2/pull/129 ... 2/pull/159

I've fixed that when one of my colleague would like use ArduinoSTL library:

Post Reply

Return to “General discussion”