D语言中不使用转义字符的办法

1.使用q

auto str = q{
       @property auto front()
       { 
             return _captures;
       }
};

2.使用`符号

auto str  = `w+`;
原文地址:https://www.cnblogs.com/wanhongnan/p/5731362.html