Guy Middleton

- 活动总数 25
- 最后的活动
- 成员加入日期
- 关注 0 名用户
- 关注者数 0 名用户
- 投票数 2
- 订阅数 10
-
Guy Middleton 创建了一个帖子, int x definition, GLOBAL_VARIABLE_PREDECLARATION and tkDecls.h on MacOS
Create a new project, with this main.cpp int x = 1;int main() { return 0;} then follow the definition/declaration gutter icon: This takes you to /Applications/Xcode.app/Contents/Developer/Platf... -
Guy Middleton 创建了一个帖子, 已回答Per-monitor font configurations
I have a laptop which I use both at work and at home, on different monitors. On my home monitor, I prefer font size 13, while at work it looks best at 15. So I go into Preferences each time, change... -
Guy Middleton 创建了一个帖子, 已回答odd template collapsing
I like CLion's code collapsing, but it sometimes gives strange results. For example, this: template <typename T, typename = std::enable_if_t<std::is_integral<T>::value>>void foo(T n) {// process n}... -
Guy Middleton 创建了一个帖子, 已回答deallocate() function in allocator marked as not used
In a custom allocator, the IDE marks the deallocate function (but not allocate) as never used: template<typename T>class e_allocator {public: using value_type = T; using pointer = value_type ... -
Guy Middleton 创建了一个帖子, 已回答Can't disable a clang-tidy warning
I have this, which causes no warnings, either in the IDE or when compiled: string rtext; int out_len1 = 1; int out_len2 = 1; int out_len = out_len1 + out_len2; rtext.resize(static_c... -
Guy Middleton 创建了一个帖子, Highlight pass-by-reference arguments?
Is there some way to configure the editor to highlight function arguments (in the calling code) where the function parameter is pass-by-reference? -
Guy Middleton 进行了评论, -
-
Guy Middleton 创建了一个帖子, Warning when initializing a vector<pair<>> from a map
This compiles clean, but CLion flags the initializer with an error: map<string, int> works;for (string l: {"a", "a", "b", "c"}) { works[l]++;}vector<pair<string, int>> scores{works.begin(), work... -