Implement TString::Swap(TString& other): swap the contents of other and this, without allocating extra memory. Simply swaps the internal representations of the the string. Thus much faster than the "traditional" TString tmp = stringA; stringA = stringB; stringB = tmp;
Implement TString::Swap(TString& other):
swap the contents of other and this, without allocating extra memory.
Simply swaps the internal representations of the the string. Thus much faster than the "traditional"
TString tmp = stringA;
stringA = stringB;
stringB = tmp;


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@47349 27541ba8-7e3a-0410-8455-c3a389f83636

zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,Y--/root,omazapa/root-old,davidlt/root,lgiommi/root,sbinet/cxx-root,esakellari/root,Duraznos/root,jrtomps/root,Duraznos/root,mattkretz/root,georgtroska/root,jrtomps/root,omazapa/root,gganis/root,thomaskeck/root,jrtomps/root,zzxuanyuan/root-compressor-dummy,mattkretz/root,gganis/root,cxx-hep/root-cern,esakellari/my_root_for_test,perovic/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,sbinet/cxx-root,agarciamontoro/root,root-mirror/root,Y--/root,satyarth934/root,nilqed/root,mkret2/root,abhinavmoudgil95/root,georgtroska/root,krafczyk/root,arch1tect0r/root,omazapa/root,mattkretz/root,thomaskeck/root,thomaskeck/root,Duraznos/root,Y--/root,agarciamontoro/root,Duraznos/root,thomaskeck/root,buuck/root,arch1tect0r/root,georgtroska/root,krafczyk/root,esakellari/my_root_for_test,gbitzes/root,veprbl/root,beniz/root,perovic/root,zzxuanyuan/root,omazapa/root-old,root-mirror/root,esakellari/my_root_for_test,simonpf/root,0x0all/ROOT,cxx-hep/root-cern,smarinac/root,mattkretz/root,sawenzel/root,krafczyk/root,pspe/root,mkret2/root,mkret2/root,davidlt/root,mattkretz/root,satyarth934/root,esakellari/root,krafczyk/root,sawenzel/root,esakellari/root,nilqed/root,sbinet/cxx-root,BerserkerTroll/root,cxx-hep/root-cern,evgeny-boger/root,lgiommi/root,sirinath/root,vukasinmilosevic/root,karies/root,esakellari/root,pspe/root,Duraznos/root,zzxuanyuan/root,esakellari/my_root_for_test,karies/root,sirinath/root,perovic/root,root-mirror/root,BerserkerTroll/root,omazapa/root,omazapa/root,jrtomps/root,root-mirror/root,mhuwiler/rootauto,omazapa/root-old,abhinavmoudgil95/root,esakellari/root,krafczyk/root,pspe/root,smarinac/root,olifre/root,jrtomps/root,karies/root,zzxuanyuan/root-compressor-dummy,veprbl/root,CristinaCristescu/root,mattkretz/root,sbinet/cxx-root,Y--/root,cxx-hep/root-cern,evgeny-boger/root,Duraznos/root,vukasinmilosevic/root,lgiommi/root,buuck/root,evgeny-boger/root,gbitzes/root,jrtomps/root,krafczyk/root,mhuwiler/rootauto,smarinac/root,georgtroska/root,agarciamontoro/root,gganis/root,CristinaCristescu/root,abhinavmoudgil95/root,Duraznos/root,agarciamontoro/root,omazapa/root-old,arch1tect0r/root,vukasinmilosevic/root,simonpf/root,esakellari/my_root_for_test,lgiommi/root,sawenzel/root,lgiommi/root,vukasinmilosevic/root,satyarth934/root,Y--/root,mhuwiler/rootauto,omazapa/root,buuck/root,davidlt/root,simonpf/root,pspe/root,esakellari/my_root_for_test,mkret2/root,mkret2/root,satyarth934/root,olifre/root,dfunke/root,dfunke/root,beniz/root,vukasinmilosevic/root,satyarth934/root,thomaskeck/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,esakellari/my_root_for_test,veprbl/root,georgtroska/root,smarinac/root,vukasinmilosevic/root,perovic/root,georgtroska/root,omazapa/root,Duraznos/root,CristinaCristescu/root,esakellari/root,alexschlueter/cern-root,sirinath/root,beniz/root,alexschlueter/cern-root,lgiommi/root,buuck/root,agarciamontoro/root,omazapa/root-old,sirinath/root,evgeny-boger/root,abhinavmoudgil95/root,sbinet/cxx-root,omazapa/root,thomaskeck/root,gbitzes/root,arch1tect0r/root,perovic/root,omazapa/root-old,arch1tect0r/root,sbinet/cxx-root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,karies/root,0x0all/ROOT,lgiommi/root,cxx-hep/root-cern,nilqed/root,root-mirror/root,evgeny-boger/root,vukasinmilosevic/root,davidlt/root,satyarth934/root,agarciamontoro/root,nilqed/root,sirinath/root,bbockelm/root,davidlt/root,zzxuanyuan/root,Duraznos/root,BerserkerTroll/root,gbitzes/root,satyarth934/root,0x0all/ROOT,davidlt/root,simonpf/root,satyarth934/root,BerserkerTroll/root,gbitzes/root,olifre/root,arch1tect0r/root,0x0all/ROOT,georgtroska/root,jrtomps/root,abhinavmoudgil95/root,sirinath/root,arch1tect0r/root,evgeny-boger/root,perovic/root,sbinet/cxx-root,beniz/root,mhuwiler/rootauto,dfunke/root,dfunke/root,simonpf/root,esakellari/root,veprbl/root,cxx-hep/root-cern,zzxuanyuan/root,agarciamontoro/root,mattkretz/root,mhuwiler/rootauto,smarinac/root,mhuwiler/rootauto,thomaskeck/root,root-mirror/root,karies/root,beniz/root,gganis/root,esakellari/root,bbockelm/root,satyarth934/root,0x0all/ROOT,simonpf/root,karies/root,evgeny-boger/root,alexschlueter/cern-root,sirinath/root,arch1tect0r/root,lgiommi/root,dfunke/root,bbockelm/root,BerserkerTroll/root,mhuwiler/rootauto,davidlt/root,zzxuanyuan/root,mhuwiler/rootauto,mhuwiler/rootauto,gbitzes/root,sbinet/cxx-root,Duraznos/root,simonpf/root,Y--/root,zzxuanyuan/root-compressor-dummy,buuck/root,buuck/root,olifre/root,nilqed/root,beniz/root,sirinath/root,Y--/root,sawenzel/root,simonpf/root,pspe/root,sawenzel/root,mkret2/root,Y--/root,jrtomps/root,olifre/root,gbitzes/root,CristinaCristescu/root,thomaskeck/root,alexschlueter/cern-root,mkret2/root,zzxuanyuan/root,olifre/root,bbockelm/root,root-mirror/root,omazapa/root-old,Y--/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,sirinath/root,sawenzel/root,jrtomps/root,gganis/root,olifre/root,karies/root,abhinavmoudgil95/root,esakellari/my_root_for_test,beniz/root,nilqed/root,beniz/root,pspe/root,sawenzel/root,veprbl/root,BerserkerTroll/root,bbockelm/root,bbockelm/root,gbitzes/root,alexschlueter/cern-root,veprbl/root,buuck/root,agarciamontoro/root,abhinavmoudgil95/root,beniz/root,nilqed/root,dfunke/root,BerserkerTroll/root,CristinaCristescu/root,dfunke/root,vukasinmilosevic/root,vukasinmilosevic/root,Y--/root,satyarth934/root,0x0all/ROOT,evgeny-boger/root,zzxuanyuan/root,smarinac/root,perovic/root,omazapa/root,davidlt/root,georgtroska/root,olifre/root,olifre/root,buuck/root,omazapa/root-old,gbitzes/root,omazapa/root,arch1tect0r/root,omazapa/root-old,karies/root,CristinaCristescu/root,root-mirror/root,buuck/root,omazapa/root-old,arch1tect0r/root,veprbl/root,gganis/root,dfunke/root,perovic/root,sirinath/root,sawenzel/root,nilqed/root,lgiommi/root,gganis/root,dfunke/root,0x0all/ROOT,smarinac/root,satyarth934/root,abhinavmoudgil95/root,olifre/root,veprbl/root,esakellari/my_root_for_test,gganis/root,root-mirror/root,0x0all/ROOT,davidlt/root,buuck/root,zzxuanyuan/root-compressor-dummy,BerserkerTroll/root,veprbl/root,bbockelm/root,cxx-hep/root-cern,veprbl/root,esakellari/my_root_for_test,0x0all/ROOT,nilqed/root,evgeny-boger/root,CristinaCristescu/root,gganis/root,sbinet/cxx-root,davidlt/root,evgeny-boger/root,sbinet/cxx-root,agarciamontoro/root,karies/root,krafczyk/root,vukasinmilosevic/root,bbockelm/root,georgtroska/root,gganis/root,krafczyk/root,krafczyk/root,davidlt/root,simonpf/root,thomaskeck/root,perovic/root,pspe/root,karies/root,georgtroska/root,mattkretz/root,bbockelm/root,gbitzes/root,pspe/root,BerserkerTroll/root,CristinaCristescu/root,evgeny-boger/root,esakellari/root,BerserkerTroll/root,agarciamontoro/root,Y--/root,BerserkerTroll/root,karies/root,abhinavmoudgil95/root,vukasinmilosevic/root,pspe/root,olifre/root,zzxuanyuan/root-compressor-dummy,mhuwiler/rootauto,cxx-hep/root-cern,zzxuanyuan/root,sawenzel/root,abhinavmoudgil95/root,alexschlueter/cern-root,mkret2/root,omazapa/root,dfunke/root,simonpf/root,smarinac/root,omazapa/root,mkret2/root,perovic/root,root-mirror/root,dfunke/root,zzxuanyuan/root-compressor-dummy,gganis/root,georgtroska/root,beniz/root,smarinac/root,alexschlueter/cern-root,esakellari/root,sbinet/cxx-root,perovic/root,thomaskeck/root,CristinaCristescu/root,mhuwiler/rootauto,mkret2/root,Duraznos/root,mattkretz/root,jrtomps/root,pspe/root,nilqed/root,veprbl/root,sawenzel/root,zzxuanyuan/root,CristinaCristescu/root,zzxuanyuan/root,nilqed/root,krafczyk/root,jrtomps/root,bbockelm/root,root-mirror/root,pspe/root,gbitzes/root,omazapa/root-old,sirinath/root,krafczyk/root,zzxuanyuan/root,sawenzel/root,mattkretz/root,buuck/root,smarinac/root,simonpf/root,bbockelm/root,mattkretz/root,mkret2/root,beniz/root,esakellari/root,CristinaCristescu/root,agarciamontoro/root