This link might be helpful too. I'm sorry the formatting is terrible.
https://tinyurl.com/4za3tu8d
Which is:
https://compiler-explorer.com/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,selection:(endColumn:1,endLineNumber:16,positionColumn:1,positionLineNumber:16,selectionStartColumn:1,selectionStartLineNumber:16,startColumn:1,startLineNumber:16),source:'%23include+%3Cstring%3E%0A%0Aconst+char+*p%3B%0A%0Avoid+setString(const+char+*q)%0A%7B%0A++++p+%3D+q%3B%0A%7D%0A%0Astd::string+s1%3B%0A%0Avoid+setStr(const+std::string+%26s2)%0A%7B%0A++++s1+%3D+s2%3B%0A%7D%0A'),l:'5',n:'0',o:'C%2B%2B+source+%231',t:'0')),k:27.637921799678626,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:clang_trunk,filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'1',intel:'0',libraryCode:'1',trim:'1'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,libs:!(),options:'-std%3Dc%2B%2B20+-stdlib%3Dlibc%2B%2B+-O3',overrides:!(),selection:(endColumn:24,endLineNumber:7,positionColumn:24,positionLineNumber:7,selectionStartColumn:24,selectionStartLineNumber:7,startColumn:24,startLineNumber:7),source:1),l:'5',n:'0',o:'+x86-64+clang+(trunk)+(Editor+%231)',t:'0')),k:72.36207820032136,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',n:'0',o:'',t:'0')),version:4