I'm trying to create an abbreviation that expands to some code containing the [[maybe_unused]] attribute in C++. However, this triggers the Script Expansion feature of C::B Abbreviations, which happens to use the [[]] operator for its functionality.
Take this code as an example for an abbreviation.
void func ([[maybe_unused]] int n) { ... }
When activating the abbreviation using Ctrl+J, this gives:
Script Run Error
Filename: CommandLine
Error: the index 'maybe_unused' does not exist.
How do I use an abbreviation that expands to code containing something of the form [[cpp_attribute]] without triggering script expansion?