首页 > 解决方案 > 如何避免在左括号和&符号之间添加空格(&

问题描述

我想decltype(在以下 SFINAE 测试中删除空格:

template<typename C> static one test(typename std::remove_reference<decltype( &C::fromString)>::type);

显然,在其他情况下,我不想在&符号之前丢失空格std::string &s

谁能告诉我哪个选项管理这个空间?

标签: uncrustify

解决方案


推荐阅读