MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / assignValueIfMutable

Function assignValueIfMutable

lib/vf_analyzers.cpp:467–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465
466 template<class T, class U>
467 static void assignValueIfMutable(T& x, const U& y)
468 {
469 x = y;
470 }
471
472 template<class T, class U>
473 static void assignValueIfMutable(const T& /*unused*/, const U& /*unused*/)

Callers 1

evalAssignmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected