Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ForwardLiceSplice
//g++ 7.4.0 //forward lice splice after in action //original credit Geeks for Geeks #include <iostream> #include <forward_list> #include <string> using namespace std; int main () { forward_list<string> fs1 = {"there",",","how","are"}; forward_list<string> fs2= {"Hi","you","?"}; fs2.splice_after(fs2.begin(),fs1); cout <<" Forward list after splice_ after:\n"; for(string& s : fs2) cout <<s<<" "; cout <<endl; return 0; }
run
|
edit
|
history
|
help
0
Baaad1
pointconcat
find-missing-number-arithmetic-progression
abbinsertbool
CodeForces Div 3 - D
te lo paso
Varadic macro
multiply two numbers (previous)
UtilityPair
scope new delete