Provide a simple IntRange class as well as an 'indices' function for getting the indices of a vector or array.
Provide a simple IntRange class as well as an 'indices'
function for getting the indices of a vector or array.

Swift SVN r10049

practicalswift/swift,return/swift,Jnosh/swift,dduan/swift,tkremenek/swift,frootloops/swift,harlanhaskins/swift,lorentey/swift,felix91gr/swift,amraboelela/swift,ben-ng/swift,shahmishal/swift,rudkx/swift,benlangmuir/swift,sdulal/swift,allevato/swift,Jnosh/swift,brentdax/swift,djwbrown/swift,allevato/swift,gottesmm/swift,nathawes/swift,kusl/swift,return/swift,ken0nek/swift,jtbandes/swift,austinzheng/swift,JGiola/swift,karwa/swift,dreamsxin/swift,kentya6/swift,mightydeveloper/swift,ben-ng/swift,Ivacker/swift,frootloops/swift,gmilos/swift,CodaFi/swift,gribozavr/swift,danielmartin/swift,hughbe/swift,modocache/swift,slavapestov/swift,tkremenek/swift,sdulal/swift,lorentey/swift,adrfer/swift,frootloops/swift,alblue/swift,johnno1962d/swift,airspeedswift/swift,CodaFi/swift,austinzheng/swift,atrick/swift,brentdax/swift,khizkhiz/swift,slavapestov/swift,milseman/swift,gmilos/swift,therealbnut/swift,tinysun212/swift-windows,aschwaighofer/swift,gregomni/swift,sschiau/swift,khizkhiz/swift,kperryua/swift,harlanhaskins/swift,modocache/swift,emilstahl/swift,Jnosh/swift,roambotics/swift,IngmarStein/swift,gottesmm/swift,amraboelela/swift,ken0nek/swift,jtbandes/swift,modocache/swift,sschiau/swift,allevato/swift,lorentey/swift,kentya6/swift,kentya6/swift,jckarter/swift,KrishMunot/swift,shahmishal/swift,hooman/swift,gottesmm/swift,sdulal/swift,aschwaighofer/swift,manavgabhawala/swift,kperryua/swift,kperryua/swift,amraboelela/swift,xwu/swift,tinysun212/swift-windows,brentdax/swift,hooman/swift,tinysun212/swift-windows,uasys/swift,ken0nek/swift,arvedviehweger/swift,swiftix/swift,xedin/swift,lorentey/swift,parkera/swift,shajrawi/swift,jopamer/swift,stephentyrone/swift,bitjammer/swift,KrishMunot/swift,felix91gr/swift,parkera/swift,xedin/swift,adrfer/swift,huonw/swift,Ivacker/swift,mightydeveloper/swift,austinzheng/swift,JaSpa/swift,khizkhiz/swift,roambotics/swift,OscarSwanros/swift,jckarter/swift,swiftix/swift.old,kstaring/swift,adrfer/swift,austinzheng/swift,devincoughlin/swift,OscarSwanros/swift,tkremenek/swift,emilstahl/swift,airspeedswift/swift,cbrentharris/swift,gribozavr/swift,hughbe/swift,bitjammer/swift,kperryua/swift,swiftix/swift,emilstahl/swift,aschwaighofer/swift,airspeedswift/swift,lorentey/swift,gregomni/swift,hughbe/swift,Ivacker/swift,stephentyrone/swift,johnno1962d/swift,JaSpa/swift,austinzheng/swift,huonw/swift,arvedviehweger/swift,amraboelela/swift,OscarSwanros/swift,jopamer/swift,calebd/swift,jmgc/swift,kperryua/swift,xwu/swift,practicalswift/swift,alblue/swift,airspeedswift/swift,kusl/swift,karwa/swift,airspeedswift/swift,brentdax/swift,deyton/swift,kusl/swift,johnno1962d/swift,johnno1962d/swift,apple/swift,jopamer/swift,amraboelela/swift,LeoShimonaka/swift,djwbrown/swift,swiftix/swift.old,emilstahl/swift,frootloops/swift,tardieu/swift,sschiau/swift,kperryua/swift,arvedviehweger/swift,mightydeveloper/swift,austinzheng/swift,codestergit/swift,JGiola/swift,russbishop/swift,shahmishal/swift,xedin/swift,stephentyrone/swift,calebd/swift,airspeedswift/swift,zisko/swift,ben-ng/swift,kentya6/swift,MukeshKumarS/Swift,glessard/swift,sschiau/swift,return/swift,deyton/swift,dduan/swift,LeoShimonaka/swift,kstaring/swift,huonw/swift,natecook1000/swift,glessard/swift,sdulal/swift,sschiau/swift,shahmishal/swift,apple/swift,practicalswift/swift,ben-ng/swift,IngmarStein/swift,apple/swift,tjw/swift,shajrawi/swift,stephentyrone/swift,jmgc/swift,tinysun212/swift-windows,LeoShimonaka/swift,allevato/swift,ken0nek/swift,CodaFi/swift,felix91gr/swift,shahmishal/swift,gregomni/swift,MukeshKumarS/Swift,manavgabhawala/swift,frootloops/swift,benlangmuir/swift,tardieu/swift,adrfer/swift,swiftix/swift,codestergit/swift,practicalswift/swift,shajrawi/swift,bitjammer/swift,JaSpa/swift,danielmartin/swift,devincoughlin/swift,gmilos/swift,harlanhaskins/swift,jopamer/swift,alblue/swift,xedin/swift,Jnosh/swift,roambotics/swift,parkera/swift,nathawes/swift,emilstahl/swift,xwu/swift,therealbnut/swift,return/swift,tjw/swift,sdulal/swift,tardieu/swift,jopamer/swift,khizkhiz/swift,djwbrown/swift,arvedviehweger/swift,jtbandes/swift,aschwaighofer/swift,aschwaighofer/swift,IngmarStein/swift,dduan/swift,JaSpa/swift,ahoppen/swift,mightydeveloper/swift,dduan/swift,Ivacker/swift,therealbnut/swift,parkera/swift,practicalswift/swift,manavgabhawala/swift,slavapestov/swift,adrfer/swift,tkremenek/swift,gregomni/swift,JGiola/swift,alblue/swift,ahoppen/swift,xedin/swift,MukeshKumarS/Swift,swiftix/swift.old,tkremenek/swift,kperryua/swift,sschiau/swift,gregomni/swift,ahoppen/swift,CodaFi/swift,hooman/swift,devincoughlin/swift,tinysun212/swift-windows,SwiftAndroid/swift,karwa/swift,JGiola/swift,LeoShimonaka/swift,LeoShimonaka/swift,natecook1000/swift,kusl/swift,harlanhaskins/swift,uasys/swift,uasys/swift,rudkx/swift,gmilos/swift,cbrentharris/swift,kstaring/swift,jtbandes/swift,felix91gr/swift,slavapestov/swift,emilstahl/swift,gribozavr/swift,benlangmuir/swift,Ivacker/swift,allevato/swift,zisko/swift,stephentyrone/swift,johnno1962d/swift,harlanhaskins/swift,milseman/swift,devincoughlin/swift,SwiftAndroid/swift,sdulal/swift,jckarter/swift,tardieu/swift,mightydeveloper/swift,OscarSwanros/swift,xwu/swift,tardieu/swift,harlanhaskins/swift,parkera/swift,gmilos/swift,amraboelela/swift,djwbrown/swift,jtbandes/swift,benlangmuir/swift,huonw/swift,russbishop/swift,arvedviehweger/swift,devincoughlin/swift,tjw/swift,sschiau/swift,shahmishal/swift,kstaring/swift,shahmishal/swift,brentdax/swift,bitjammer/swift,KrishMunot/swift,danielmartin/swift,lorentey/swift,cbrentharris/swift,gottesmm/swift,modocache/swift,johnno1962d/swift,zisko/swift,slavapestov/swift,SwiftAndroid/swift,russbishop/swift,codestergit/swift,felix91gr/swift,IngmarStein/swift,therealbnut/swift,gregomni/swift,ahoppen/swift,hooman/swift,hughbe/swift,russbishop/swift,kentya6/swift,ken0nek/swift,KrishMunot/swift,natecook1000/swift,slavapestov/swift,allevato/swift,emilstahl/swift,Ivacker/swift,ben-ng/swift,kstaring/swift,djwbrown/swift,bitjammer/swift,alblue/swift,gribozavr/swift,cbrentharris/swift,tjw/swift,aschwaighofer/swift,alblue/swift,atrick/swift,mightydeveloper/swift,tardieu/swift,cbrentharris/swift,codestergit/swift,apple/swift,stephentyrone/swift,natecook1000/swift,uasys/swift,apple/swift,cbrentharris/swift,shahmishal/swift,manavgabhawala/swift,russbishop/swift,atrick/swift,jtbandes/swift,gribozavr/swift,ken0nek/swift,parkera/swift,deyton/swift,karwa/swift,sdulal/swift,codestergit/swift,hooman/swift,deyton/swift,natecook1000/swift,codestergit/swift,ken0nek/swift,practicalswift/swift,CodaFi/swift,therealbnut/swift,xedin/swift,rudkx/swift,glessard/swift,roambotics/swift,ahoppen/swift,therealbnut/swift,brentdax/swift,karwa/swift,deyton/swift,tjw/swift,tjw/swift,ben-ng/swift,nathawes/swift,shajrawi/swift,deyton/swift,benlangmuir/swift,therealbnut/swift,return/swift,swiftix/swift.old,kentya6/swift,ahoppen/swift,xwu/swift,cbrentharris/swift,return/swift,xwu/swift,nathawes/swift,SwiftAndroid/swift,khizkhiz/swift,xedin/swift,calebd/swift,jckarter/swift,dduan/swift,swiftix/swift,milseman/swift,MukeshKumarS/Swift,manavgabhawala/swift,KrishMunot/swift,milseman/swift,SwiftAndroid/swift,swiftix/swift,shajrawi/swift,jmgc/swift,devincoughlin/swift,tjw/swift,hughbe/swift,arvedviehweger/swift,danielmartin/swift,kentya6/swift,jtbandes/swift,JaSpa/swift,LeoShimonaka/swift,felix91gr/swift,shajrawi/swift,Ivacker/swift,jopamer/swift,uasys/swift,CodaFi/swift,calebd/swift,apple/swift,cbrentharris/swift,roambotics/swift,rudkx/swift,johnno1962d/swift,arvedviehweger/swift,kusl/swift,roambotics/swift,aschwaighofer/swift,gribozavr/swift,djwbrown/swift,milseman/swift,LeoShimonaka/swift,glessard/swift,sdulal/swift,allevato/swift,IngmarStein/swift,gribozavr/swift,tinysun212/swift-windows,OscarSwanros/swift,gottesmm/swift,nathawes/swift,benlangmuir/swift,OscarSwanros/swift,adrfer/swift,manavgabhawala/swift,danielmartin/swift,parkera/swift,JGiola/swift,shajrawi/swift,frootloops/swift,huonw/swift,nathawes/swift,frootloops/swift,calebd/swift,MukeshKumarS/Swift,russbishop/swift,austinzheng/swift,parkera/swift,jckarter/swift,tinysun212/swift-windows,swiftix/swift,adrfer/swift,devincoughlin/swift,jmgc/swift,kusl/swift,karwa/swift,shajrawi/swift,codestergit/swift,tardieu/swift,gottesmm/swift,dduan/swift,brentdax/swift,KrishMunot/swift,karwa/swift,felix91gr/swift,gottesmm/swift,hughbe/swift,modocache/swift,swiftix/swift,dduan/swift,slavapestov/swift,jmgc/swift,tkremenek/swift,gribozavr/swift,tkremenek/swift,khizkhiz/swift,kentya6/swift,ben-ng/swift,MukeshKumarS/Swift,kusl/swift,milseman/swift,kusl/swift,atrick/swift,danielmartin/swift,huonw/swift,OscarSwanros/swift,deyton/swift,mightydeveloper/swift,jmgc/swift,calebd/swift,airspeedswift/swift,alblue/swift,gmilos/swift,natecook1000/swift,atrick/swift,emilstahl/swift,jckarter/swift,gmilos/swift,harlanhaskins/swift,modocache/swift,glessard/swift,swiftix/swift.old,zisko/swift,jmgc/swift,devincoughlin/swift,stephentyrone/swift,JGiola/swift,modocache/swift,return/swift,practicalswift/swift,practicalswift/swift,swiftix/swift.old,zisko/swift,calebd/swift,glessard/swift,dreamsxin/swift,mightydeveloper/swift,manavgabhawala/swift,hooman/swift,hughbe/swift,CodaFi/swift,JaSpa/swift,Jnosh/swift,jopamer/swift,bitjammer/swift,Jnosh/swift,LeoShimonaka/swift,zisko/swift,hooman/swift,amraboelela/swift,milseman/swift,russbishop/swift,danielmartin/swift,Ivacker/swift,swiftix/swift.old,djwbrown/swift,uasys/swift,lorentey/swift,Jnosh/swift,SwiftAndroid/swift,rudkx/swift,MukeshKumarS/Swift,uasys/swift,IngmarStein/swift,kstaring/swift,huonw/swift,sschiau/swift,zisko/swift,kstaring/swift,nathawes/swift,jckarter/swift,karwa/swift,rudkx/swift,khizkhiz/swift,SwiftAndroid/swift,bitjammer/swift,swiftix/swift.old,natecook1000/swift,IngmarStein/swift,lorentey/swift,KrishMunot/swift,xedin/swift,JaSpa/swift,xwu/swift,atrick/swift