Tested on g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Note: Actually,it is not a BUG. It is compiler related issue. The issue #385 is not shown in g++-6 and clang.