← concepts · the commons
feature directive
3 moment(s) that assert this concept — showing 1–3 of 3
moderateTwo independent sources — corroborated, but not broadly
↣ how this spread over time →Tristan Brindle · youtube · en
1Rust introduces a feature directive to opt into a new memory-safe object model with bit masks per token in a translation unit.
“you do that with this feature directive so you say pound feature on safety and this will flip on the safety feature now all of the um the text in this file will will subscribe to this safety feature”
spoken · 279s · 2024-05-09
NYC++ Meetup · youtube · en
2The feature directive allows individual files to enable or disable specific language features independently.
“each textual file you load a CPP file or a header file has an active mask of features”
spoken · 658s · 2023-03-14
NYC++ Meetup · youtube · en
3The feature directive supports enabling or disabling features per file, including feature inclusion via manifest files.
“you can say pound feature include path and that'll open a file which is a manifest and it lists”
spoken · 688s · 2023-03-14