I use intel compiler, and since intel doesn't really support -Wall I use -Wremarks for warnings...
I have this simple code which just makes a certain object..
template<typename... Args_t>
static inline Obj makeObj(Args_t&&... args) {
auto obj = std::make_shared<Obj>(args...); // probably can forward but doesn't matter..
return obj;
}
I get this remark:
remark #869: parameter "args" was never referenced
is this a bug? anyone seen this?
This is just a bugged warning that was already reported in the Intel forum. It doesn't have any particular meaning as the code is completely okay (although you should consider perfect forwarding).