diff --git a/build/mac/Regal/Regal.xcodeproj/project.pbxproj b/build/mac/Regal/Regal.xcodeproj/project.pbxproj index fbef0d1..4b4a530 100644 --- a/build/mac/Regal/Regal.xcodeproj/project.pbxproj +++ b/build/mac/Regal/Regal.xcodeproj/project.pbxproj @@ -123,19 +123,12 @@ 435915A81836766E002CB92C /* RegalDispatchCode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBEC711167AD74400B38E16 /* RegalDispatchCode.cpp */; }; 435915A91836766E002CB92C /* RegalDispatchDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1DD15C48D1F0063667E /* RegalDispatchDebug.cpp */; }; 435915AA1836766E002CB92C /* RegalDispatchEmu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1DE15C48D1F0063667E /* RegalDispatchEmu.cpp */; }; - 435915AB1836766E002CB92C /* RegalDispatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */; }; - 435915AC1836766E002CB92C /* RegalDispatcher.h in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A615E079C20093B7D5 /* RegalDispatcher.h */; }; - 435915AD1836766E002CB92C /* RegalDispatcherGL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1823175EB40600CB653A /* RegalDispatcherGL.cpp */; }; - 435915AE1836766E002CB92C /* RegalDispatcherGL.h in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1824175EB40600CB653A /* RegalDispatcherGL.h */; }; - 435915AF1836766E002CB92C /* RegalDispatcherGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1825175EB40600CB653A /* RegalDispatcherGlobal.cpp */; }; - 435915B01836766E002CB92C /* RegalDispatcherGlobal.h in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1826175EB40600CB653A /* RegalDispatcherGlobal.h */; }; 435915B11836766E002CB92C /* RegalDispatchError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1DF15C48D1F0063667E /* RegalDispatchError.cpp */; }; 435915B21836766E002CB92C /* RegalDispatchError.h in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1E015C48D1F0063667E /* RegalDispatchError.h */; }; 435915B31836766E002CB92C /* RegalDispatchGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6C911C15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp */; }; 435915B41836766E002CB92C /* RegalDispatchGLX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC8E9CB717C5AF870005C418 /* RegalDispatchGLX.cpp */; }; 435915B51836766E002CB92C /* RegalDispatchLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1E115C48D1F0063667E /* RegalDispatchLoader.cpp */; }; 435915B61836766E002CB92C /* RegalDispatchLog.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1E215C48D1F0063667E /* RegalDispatchLog.cpp */; }; - 435915B71836766E002CB92C /* RegalDispatchMissing.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */; }; 435915B81836766E002CB92C /* RegalDispatchPpapi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */; }; 435915B91836766E002CB92C /* RegalDispatchStaticEGL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC8E9CB917C5AF880005C418 /* RegalDispatchStaticEGL.cpp */; }; 435915BA1836766E002CB92C /* RegalDispatchStaticES2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */; }; @@ -248,9 +241,7 @@ 4359166618367DEE002CB92C /* RegalUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1FC15C48D200063667E /* RegalUtil.cpp */; }; 4359166718367DEE002CB92C /* RegalFavicon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 431D3C0A15C9B6F0009DD04F /* RegalFavicon.cpp */; }; 4359166818367DEE002CB92C /* RegalMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 431D3C0C15C9B6F0009DD04F /* RegalMac.cpp */; }; - 4359166918367DEE002CB92C /* RegalDispatchMissing.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */; }; 4359166A18367DEE002CB92C /* RegalDispatchPpapi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */; }; - 4359166B18367DEE002CB92C /* RegalDispatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */; }; 4359166C18367DEE002CB92C /* RegalDispatchStaticES2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */; }; 4359166D18367DEE002CB92C /* RegalDispatchGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6C911C15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp */; }; 4359166E18367DEE002CB92C /* RegalMarker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC02094D160D1BA3003FAB99 /* RegalMarker.cpp */; }; @@ -266,8 +257,6 @@ 4359167818367DEE002CB92C /* RegalXfer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 430443EE16F1656A0078C0F9 /* RegalXfer.cpp */; }; 4359167918367DEE002CB92C /* RegalCacheShader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209D816F3A28900D1A9E0 /* RegalCacheShader.cpp */; }; 4359167A18367DEE002CB92C /* RegalCacheTexture.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209DA16F3A28900D1A9E0 /* RegalCacheTexture.cpp */; }; - 4359167B18367DEE002CB92C /* RegalDispatcherGL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1823175EB40600CB653A /* RegalDispatcherGL.cpp */; }; - 4359167C18367DEE002CB92C /* RegalDispatcherGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1825175EB40600CB653A /* RegalDispatcherGlobal.cpp */; }; 4359167D18367DEE002CB92C /* RegalStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF182B175EB46800CB653A /* RegalStatistics.cpp */; }; 4359167E18367DEE002CB92C /* RegalDispatchStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1831175EB49D00CB653A /* RegalDispatchStatistics.cpp */; }; 4359167F18367DEE002CB92C /* RegalDispatchTrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1832175EB49D00CB653A /* RegalDispatchTrace.cpp */; }; @@ -309,7 +298,6 @@ 435916AE18367DEE002CB92C /* RegalVao.h in Headers */ = {isa = PBXBuildFile; fileRef = 43A6C1FE15C48D200063667E /* RegalVao.h */; }; 435916AF18367DEE002CB92C /* RegalEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = 431D3C0915C9B6F0009DD04F /* RegalEnum.h */; }; 435916B018367DEE002CB92C /* RegalFavicon.h in Headers */ = {isa = PBXBuildFile; fileRef = 431D3C0B15C9B6F0009DD04F /* RegalFavicon.h */; }; - 435916B118367DEE002CB92C /* RegalDispatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = BCF889A615E079C20093B7D5 /* RegalDispatcher.h */; }; 435916B218367DEE002CB92C /* RegalFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = BC640C9B16554A52007DEF69 /* RegalFrame.h */; }; 435916B318367DEE002CB92C /* RegalPush.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBEC6FF167AD72700B38E16 /* RegalPush.h */; }; 435916B418367DEE002CB92C /* RegalSharedList.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBEC702167AD72700B38E16 /* RegalSharedList.h */; }; @@ -331,8 +319,6 @@ 435916C418367DEE002CB92C /* RegalCacheShader.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209D916F3A28900D1A9E0 /* RegalCacheShader.h */; }; 435916C518367DEE002CB92C /* RegalCacheTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209DB16F3A28900D1A9E0 /* RegalCacheTexture.h */; }; 435916C618367DEE002CB92C /* RegalJson.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60A6B117032F1A0055437B /* RegalJson.h */; }; - 435916C718367DEE002CB92C /* RegalDispatcherGL.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1824175EB40600CB653A /* RegalDispatcherGL.h */; }; - 435916C818367DEE002CB92C /* RegalDispatcherGlobal.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1826175EB40600CB653A /* RegalDispatcherGlobal.h */; }; 435916C918367DEE002CB92C /* RegalStatistics.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF182C175EB46800CB653A /* RegalStatistics.h */; }; 435916CA18367DEE002CB92C /* RegalBaseVertex.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF182F175EB49D00CB653A /* RegalBaseVertex.h */; }; 435916CB18367DEE002CB92C /* RegalClientState.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1830175EB49D00CB653A /* RegalClientState.h */; }; @@ -372,19 +358,12 @@ 435916FE18367E05002CB92C /* RegalDispatchCode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBEC711167AD74400B38E16 /* RegalDispatchCode.cpp */; }; 435916FF18367E05002CB92C /* RegalDispatchDebug.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1DD15C48D1F0063667E /* RegalDispatchDebug.cpp */; }; 4359170018367E05002CB92C /* RegalDispatchEmu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1DE15C48D1F0063667E /* RegalDispatchEmu.cpp */; }; - 4359170118367E05002CB92C /* RegalDispatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */; }; - 4359170218367E05002CB92C /* RegalDispatcher.h in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A615E079C20093B7D5 /* RegalDispatcher.h */; }; - 4359170318367E05002CB92C /* RegalDispatcherGL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1823175EB40600CB653A /* RegalDispatcherGL.cpp */; }; - 4359170418367E05002CB92C /* RegalDispatcherGL.h in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1824175EB40600CB653A /* RegalDispatcherGL.h */; }; - 4359170518367E05002CB92C /* RegalDispatcherGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1825175EB40600CB653A /* RegalDispatcherGlobal.cpp */; }; - 4359170618367E05002CB92C /* RegalDispatcherGlobal.h in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1826175EB40600CB653A /* RegalDispatcherGlobal.h */; }; 4359170718367E05002CB92C /* RegalDispatchError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1DF15C48D1F0063667E /* RegalDispatchError.cpp */; }; 4359170818367E05002CB92C /* RegalDispatchError.h in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1E015C48D1F0063667E /* RegalDispatchError.h */; }; 4359170918367E05002CB92C /* RegalDispatchGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6C911C15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp */; }; 4359170A18367E05002CB92C /* RegalDispatchGLX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC8E9CB717C5AF870005C418 /* RegalDispatchGLX.cpp */; }; 4359170B18367E05002CB92C /* RegalDispatchLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1E115C48D1F0063667E /* RegalDispatchLoader.cpp */; }; 4359170C18367E05002CB92C /* RegalDispatchLog.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1E215C48D1F0063667E /* RegalDispatchLog.cpp */; }; - 4359170D18367E05002CB92C /* RegalDispatchMissing.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */; }; 4359170E18367E05002CB92C /* RegalDispatchPpapi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */; }; 4359170F18367E05002CB92C /* RegalDispatchStaticEGL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC8E9CB917C5AF880005C418 /* RegalDispatchStaticEGL.cpp */; }; 4359171018367E05002CB92C /* RegalDispatchStaticES2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */; }; @@ -609,7 +588,6 @@ BC3209DD16F3A28900D1A9E0 /* RegalCacheShader.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209D916F3A28900D1A9E0 /* RegalCacheShader.h */; }; BC3209DE16F3A28900D1A9E0 /* RegalCacheTexture.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209DA16F3A28900D1A9E0 /* RegalCacheTexture.cpp */; }; BC3209DF16F3A28900D1A9E0 /* RegalCacheTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209DB16F3A28900D1A9E0 /* RegalCacheTexture.h */; }; - BC456F1215D55F8E0080B420 /* RegalDispatchMissing.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */; }; BC456F1315D55F8E0080B420 /* RegalDispatchPpapi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */; }; BC4DBEC31804FB0600F6D226 /* RegalQuads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC4DBEC11804FB0600F6D226 /* RegalQuads.cpp */; }; BC4DBEC41804FB0600F6D226 /* RegalQuads.h in Headers */ = {isa = PBXBuildFile; fileRef = BC4DBEC21804FB0600F6D226 /* RegalQuads.h */; }; @@ -639,10 +617,6 @@ BCBEC70E167AD72700B38E16 /* RegalSo.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBEC706167AD72700B38E16 /* RegalSo.h */; }; BCBEC712167AD74400B38E16 /* RegalDispatchCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBEC710167AD74400B38E16 /* RegalDispatchCache.cpp */; }; BCBEC713167AD74400B38E16 /* RegalDispatchCode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBEC711167AD74400B38E16 /* RegalDispatchCode.cpp */; }; - BCBF1827175EB40600CB653A /* RegalDispatcherGL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1823175EB40600CB653A /* RegalDispatcherGL.cpp */; }; - BCBF1828175EB40600CB653A /* RegalDispatcherGL.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1824175EB40600CB653A /* RegalDispatcherGL.h */; }; - BCBF1829175EB40600CB653A /* RegalDispatcherGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1825175EB40600CB653A /* RegalDispatcherGlobal.cpp */; }; - BCBF182A175EB40600CB653A /* RegalDispatcherGlobal.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1826175EB40600CB653A /* RegalDispatcherGlobal.h */; }; BCBF182D175EB46800CB653A /* RegalStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF182B175EB46800CB653A /* RegalStatistics.cpp */; }; BCBF182E175EB46800CB653A /* RegalStatistics.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF182C175EB46800CB653A /* RegalStatistics.h */; }; BCBF1837175EB49D00CB653A /* RegalBaseVertex.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF182F175EB49D00CB653A /* RegalBaseVertex.h */; }; @@ -653,8 +627,6 @@ BCBF183C175EB49D00CB653A /* RegalMutex.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1834175EB49D00CB653A /* RegalMutex.h */; }; BCBF183D175EB49D00CB653A /* RegalPlugin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1835175EB49D00CB653A /* RegalPlugin.cpp */; }; BCBF183E175EB49D00CB653A /* RegalRect.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1836175EB49D00CB653A /* RegalRect.h */; }; - BCF889A715E079C20093B7D5 /* RegalDispatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */; }; - BCF889A815E079C20093B7D5 /* RegalDispatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = BCF889A615E079C20093B7D5 /* RegalDispatcher.h */; }; BCF889AA15E079D80093B7D5 /* RegalDispatchStaticES2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */; }; /* End PBXBuildFile section */ @@ -1048,7 +1020,6 @@ BC3209D916F3A28900D1A9E0 /* RegalCacheShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalCacheShader.h; path = ../../../src/regal/RegalCacheShader.h; sourceTree = ""; }; BC3209DA16F3A28900D1A9E0 /* RegalCacheTexture.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalCacheTexture.cpp; path = ../../../src/regal/RegalCacheTexture.cpp; sourceTree = ""; }; BC3209DB16F3A28900D1A9E0 /* RegalCacheTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalCacheTexture.h; path = ../../../src/regal/RegalCacheTexture.h; sourceTree = ""; }; - BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchMissing.cpp; path = ../../../src/regal/RegalDispatchMissing.cpp; sourceTree = ""; }; BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchPpapi.cpp; path = ../../../src/regal/RegalDispatchPpapi.cpp; sourceTree = ""; }; BC4DBEC11804FB0600F6D226 /* RegalQuads.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalQuads.cpp; path = ../../../src/regal/RegalQuads.cpp; sourceTree = ""; }; BC4DBEC21804FB0600F6D226 /* RegalQuads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalQuads.h; path = ../../../src/regal/RegalQuads.h; sourceTree = ""; }; @@ -1078,10 +1049,6 @@ BCBEC706167AD72700B38E16 /* RegalSo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalSo.h; path = ../../../src/regal/RegalSo.h; sourceTree = ""; }; BCBEC710167AD74400B38E16 /* RegalDispatchCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchCache.cpp; path = ../../../src/regal/RegalDispatchCache.cpp; sourceTree = ""; }; BCBEC711167AD74400B38E16 /* RegalDispatchCode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchCode.cpp; path = ../../../src/regal/RegalDispatchCode.cpp; sourceTree = ""; }; - BCBF1823175EB40600CB653A /* RegalDispatcherGL.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatcherGL.cpp; path = ../../../src/regal/RegalDispatcherGL.cpp; sourceTree = ""; }; - BCBF1824175EB40600CB653A /* RegalDispatcherGL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalDispatcherGL.h; path = ../../../src/regal/RegalDispatcherGL.h; sourceTree = ""; }; - BCBF1825175EB40600CB653A /* RegalDispatcherGlobal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatcherGlobal.cpp; path = ../../../src/regal/RegalDispatcherGlobal.cpp; sourceTree = ""; }; - BCBF1826175EB40600CB653A /* RegalDispatcherGlobal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalDispatcherGlobal.h; path = ../../../src/regal/RegalDispatcherGlobal.h; sourceTree = ""; }; BCBF182B175EB46800CB653A /* RegalStatistics.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalStatistics.cpp; path = ../../../src/regal/RegalStatistics.cpp; sourceTree = ""; }; BCBF182C175EB46800CB653A /* RegalStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalStatistics.h; path = ../../../src/regal/RegalStatistics.h; sourceTree = ""; }; BCBF182F175EB49D00CB653A /* RegalBaseVertex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalBaseVertex.h; path = ../../../src/regal/RegalBaseVertex.h; sourceTree = ""; }; @@ -1092,8 +1059,6 @@ BCBF1834175EB49D00CB653A /* RegalMutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalMutex.h; path = ../../../src/regal/RegalMutex.h; sourceTree = ""; }; BCBF1835175EB49D00CB653A /* RegalPlugin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalPlugin.cpp; path = ../../../src/regal/RegalPlugin.cpp; sourceTree = ""; }; BCBF1836175EB49D00CB653A /* RegalRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalRect.h; path = ../../../src/regal/RegalRect.h; sourceTree = ""; }; - BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatcher.cpp; path = ../../../src/regal/RegalDispatcher.cpp; sourceTree = ""; }; - BCF889A615E079C20093B7D5 /* RegalDispatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalDispatcher.h; path = ../../../src/regal/RegalDispatcher.h; sourceTree = ""; }; BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchStaticES2.cpp; path = ../../../src/regal/RegalDispatchStaticES2.cpp; sourceTree = ""; }; /* End PBXFileReference section */ @@ -1349,12 +1314,6 @@ 437B7C8318787E2D00C863BB /* RegalDispatchDebug.h */, 43A6C1DE15C48D1F0063667E /* RegalDispatchEmu.cpp */, 437B7C8618790DFA00C863BB /* RegalDispatchEmu.h */, - BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */, - BCF889A615E079C20093B7D5 /* RegalDispatcher.h */, - BCBF1823175EB40600CB653A /* RegalDispatcherGL.cpp */, - BCBF1824175EB40600CB653A /* RegalDispatcherGL.h */, - BCBF1825175EB40600CB653A /* RegalDispatcherGlobal.cpp */, - BCBF1826175EB40600CB653A /* RegalDispatcherGlobal.h */, 43A6C1DF15C48D1F0063667E /* RegalDispatchError.cpp */, 43A6C1E015C48D1F0063667E /* RegalDispatchError.h */, BC6C911C15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp */, @@ -1364,7 +1323,6 @@ 43A6C1E115C48D1F0063667E /* RegalDispatchLoader.cpp */, 43A6C1E215C48D1F0063667E /* RegalDispatchLog.cpp */, 437B7C98187A8BF700C863BB /* RegalDispatchLog.h */, - BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */, BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */, BC8E9CB917C5AF880005C418 /* RegalDispatchStaticEGL.cpp */, BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */, @@ -1555,7 +1513,6 @@ 435916AE18367DEE002CB92C /* RegalVao.h in Headers */, 435916AF18367DEE002CB92C /* RegalEnum.h in Headers */, 435916B018367DEE002CB92C /* RegalFavicon.h in Headers */, - 435916B118367DEE002CB92C /* RegalDispatcher.h in Headers */, 435916B218367DEE002CB92C /* RegalFrame.h in Headers */, 435916B318367DEE002CB92C /* RegalPush.h in Headers */, 435916B418367DEE002CB92C /* RegalSharedList.h in Headers */, @@ -1581,9 +1538,7 @@ 437B7CD3187A8BF700C863BB /* RegalOrigQuads.h in Headers */, 435916C518367DEE002CB92C /* RegalCacheTexture.h in Headers */, 435916C618367DEE002CB92C /* RegalJson.h in Headers */, - 435916C718367DEE002CB92C /* RegalDispatcherGL.h in Headers */, 437B7CB3187A8BF700C863BB /* RegalOrigBin.h in Headers */, - 435916C818367DEE002CB92C /* RegalDispatcherGlobal.h in Headers */, 435916C918367DEE002CB92C /* RegalStatistics.h in Headers */, 435916CA18367DEE002CB92C /* RegalBaseVertex.h in Headers */, 435916CB18367DEE002CB92C /* RegalClientState.h in Headers */, @@ -1690,7 +1645,6 @@ 431D3C0D15C9B6F0009DD04F /* RegalEnum.h in Headers */, 431D3C0F15C9B6F0009DD04F /* RegalFavicon.h in Headers */, 437B7C8418787E2D00C863BB /* RegalDispatchDebug.h in Headers */, - BCF889A815E079C20093B7D5 /* RegalDispatcher.h in Headers */, BC640C9D16554A52007DEF69 /* RegalFrame.h in Headers */, BCBEC707167AD72700B38E16 /* RegalPush.h in Headers */, BCBEC70A167AD72700B38E16 /* RegalSharedList.h in Headers */, @@ -1715,8 +1669,6 @@ BC3209DD16F3A28900D1A9E0 /* RegalCacheShader.h in Headers */, BC3209DF16F3A28900D1A9E0 /* RegalCacheTexture.h in Headers */, BC60A6B217032F1A0055437B /* RegalJson.h in Headers */, - BCBF1828175EB40600CB653A /* RegalDispatcherGL.h in Headers */, - BCBF182A175EB40600CB653A /* RegalDispatcherGlobal.h in Headers */, BCBF182E175EB46800CB653A /* RegalStatistics.h in Headers */, BCBF1837175EB49D00CB653A /* RegalBaseVertex.h in Headers */, BCBF1838175EB49D00CB653A /* RegalClientState.h in Headers */, @@ -2020,13 +1972,7 @@ 435915A91836766E002CB92C /* RegalDispatchDebug.cpp in Sources */, 435915AA1836766E002CB92C /* RegalDispatchEmu.cpp in Sources */, 433EC16818788EC9007304B6 /* priorityq.c in Sources */, - 435915AB1836766E002CB92C /* RegalDispatcher.cpp in Sources */, - 435915AC1836766E002CB92C /* RegalDispatcher.h in Sources */, - 435915AD1836766E002CB92C /* RegalDispatcherGL.cpp in Sources */, - 435915AE1836766E002CB92C /* RegalDispatcherGL.h in Sources */, - 435915AF1836766E002CB92C /* RegalDispatcherGlobal.cpp in Sources */, 433EC12B18788E72007304B6 /* glue.c in Sources */, - 435915B01836766E002CB92C /* RegalDispatcherGlobal.h in Sources */, 435915B11836766E002CB92C /* RegalDispatchError.cpp in Sources */, 435915B21836766E002CB92C /* RegalDispatchError.h in Sources */, 435915B31836766E002CB92C /* RegalDispatchGlobal.cpp in Sources */, @@ -2034,7 +1980,6 @@ 435915B51836766E002CB92C /* RegalDispatchLoader.cpp in Sources */, 435915B61836766E002CB92C /* RegalDispatchLog.cpp in Sources */, 433EC17818788EC9007304B6 /* tessmono.c in Sources */, - 435915B71836766E002CB92C /* RegalDispatchMissing.cpp in Sources */, 435915B81836766E002CB92C /* RegalDispatchPpapi.cpp in Sources */, 435915B91836766E002CB92C /* RegalDispatchStaticEGL.cpp in Sources */, 435915BA1836766E002CB92C /* RegalDispatchStaticES2.cpp in Sources */, @@ -2157,9 +2102,7 @@ 4359166618367DEE002CB92C /* RegalUtil.cpp in Sources */, 4359166718367DEE002CB92C /* RegalFavicon.cpp in Sources */, 4359166818367DEE002CB92C /* RegalMac.cpp in Sources */, - 4359166918367DEE002CB92C /* RegalDispatchMissing.cpp in Sources */, 4359166A18367DEE002CB92C /* RegalDispatchPpapi.cpp in Sources */, - 4359166B18367DEE002CB92C /* RegalDispatcher.cpp in Sources */, 4359166C18367DEE002CB92C /* RegalDispatchStaticES2.cpp in Sources */, 4359166D18367DEE002CB92C /* RegalDispatchGlobal.cpp in Sources */, 4359166E18367DEE002CB92C /* RegalMarker.cpp in Sources */, @@ -2175,8 +2118,6 @@ 4359167818367DEE002CB92C /* RegalXfer.cpp in Sources */, 4359167918367DEE002CB92C /* RegalCacheShader.cpp in Sources */, 4359167A18367DEE002CB92C /* RegalCacheTexture.cpp in Sources */, - 4359167B18367DEE002CB92C /* RegalDispatcherGL.cpp in Sources */, - 4359167C18367DEE002CB92C /* RegalDispatcherGlobal.cpp in Sources */, 4359167D18367DEE002CB92C /* RegalStatistics.cpp in Sources */, 4359167E18367DEE002CB92C /* RegalDispatchStatistics.cpp in Sources */, 4359167F18367DEE002CB92C /* RegalDispatchTrace.cpp in Sources */, @@ -2227,13 +2168,7 @@ 435916FF18367E05002CB92C /* RegalDispatchDebug.cpp in Sources */, 4359170018367E05002CB92C /* RegalDispatchEmu.cpp in Sources */, 433EC16918788EC9007304B6 /* priorityq.c in Sources */, - 4359170118367E05002CB92C /* RegalDispatcher.cpp in Sources */, - 4359170218367E05002CB92C /* RegalDispatcher.h in Sources */, - 4359170318367E05002CB92C /* RegalDispatcherGL.cpp in Sources */, - 4359170418367E05002CB92C /* RegalDispatcherGL.h in Sources */, - 4359170518367E05002CB92C /* RegalDispatcherGlobal.cpp in Sources */, 433EC12C18788E72007304B6 /* glue.c in Sources */, - 4359170618367E05002CB92C /* RegalDispatcherGlobal.h in Sources */, 4359170718367E05002CB92C /* RegalDispatchError.cpp in Sources */, 4359170818367E05002CB92C /* RegalDispatchError.h in Sources */, 4359170918367E05002CB92C /* RegalDispatchGlobal.cpp in Sources */, @@ -2241,7 +2176,6 @@ 4359170B18367E05002CB92C /* RegalDispatchLoader.cpp in Sources */, 4359170C18367E05002CB92C /* RegalDispatchLog.cpp in Sources */, 433EC17918788EC9007304B6 /* tessmono.c in Sources */, - 4359170D18367E05002CB92C /* RegalDispatchMissing.cpp in Sources */, 4359170E18367E05002CB92C /* RegalDispatchPpapi.cpp in Sources */, 4359170F18367E05002CB92C /* RegalDispatchStaticEGL.cpp in Sources */, 4359171018367E05002CB92C /* RegalDispatchStaticES2.cpp in Sources */, @@ -2364,9 +2298,7 @@ 43A6C22915C48D200063667E /* RegalUtil.cpp in Sources */, 431D3C0E15C9B6F0009DD04F /* RegalFavicon.cpp in Sources */, 431D3C1015C9B6F0009DD04F /* RegalMac.cpp in Sources */, - BC456F1215D55F8E0080B420 /* RegalDispatchMissing.cpp in Sources */, BC456F1315D55F8E0080B420 /* RegalDispatchPpapi.cpp in Sources */, - BCF889A715E079C20093B7D5 /* RegalDispatcher.cpp in Sources */, BCF889AA15E079D80093B7D5 /* RegalDispatchStaticES2.cpp in Sources */, BC6C911D15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp in Sources */, BC02094E160D1BA3003FAB99 /* RegalMarker.cpp in Sources */, @@ -2382,8 +2314,6 @@ 430443F016F1656A0078C0F9 /* RegalXfer.cpp in Sources */, BC3209DC16F3A28900D1A9E0 /* RegalCacheShader.cpp in Sources */, BC3209DE16F3A28900D1A9E0 /* RegalCacheTexture.cpp in Sources */, - BCBF1827175EB40600CB653A /* RegalDispatcherGL.cpp in Sources */, - BCBF1829175EB40600CB653A /* RegalDispatcherGlobal.cpp in Sources */, BCBF182D175EB46800CB653A /* RegalStatistics.cpp in Sources */, BCBF1839175EB49D00CB653A /* RegalDispatchStatistics.cpp in Sources */, BCBF183A175EB49D00CB653A /* RegalDispatchTrace.cpp in Sources */, @@ -2645,7 +2575,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( ../../../include, - ../../../src/boost, ../../../src/mongoose, ../../../src/lookup3, ../../../src/jsonsl, @@ -2698,7 +2627,6 @@ GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( ../../../include, - ../../../src/boost, ../../../src/mongoose, ../../../src/lookup3, ../../../src/jsonsl, diff --git a/build/regal.inc b/build/regal.inc index 4b9b7d1..424a9b1 100644 --- a/build/regal.inc +++ b/build/regal.inc @@ -104,9 +104,6 @@ REGAL.CXX += src/regal/RegalPlugin.cpp REGAL.CXX += src/regal/RegalShader.cpp REGAL.CXX += src/regal/RegalToken.cpp REGAL.CXX += src/regal/RegalDispatchGlobal.cpp -REGAL.CXX += src/regal/RegalDispatcher.cpp -REGAL.CXX += src/regal/RegalDispatcherGL.cpp -REGAL.CXX += src/regal/RegalDispatcherGlobal.cpp REGAL.CXX += src/regal/RegalDispatchEmu.cpp REGAL.CXX += src/regal/RegalDispatchGLX.cpp REGAL.CXX += src/regal/RegalDispatchLog.cpp @@ -120,7 +117,6 @@ REGAL.CXX += src/regal/RegalDispatchStatistics.cpp REGAL.CXX += src/regal/RegalDispatchStaticES2.cpp REGAL.CXX += src/regal/RegalDispatchStaticEGL.cpp REGAL.CXX += src/regal/RegalDispatchTrace.cpp -REGAL.CXX += src/regal/RegalDispatchMissing.cpp REGAL.CXX += src/regal/RegalPixelConversions.cpp REGAL.CXX += src/regal/RegalHttp.cpp REGAL.CXX += src/regal/RegalJson.cpp @@ -217,7 +213,6 @@ REGAL.INCLUDE += -Isrc/md5/include REGAL.INCLUDE += -Isrc/lookup3 REGAL.INCLUDE += -Isrc/jsonsl REGAL.INCLUDE += -Isrc/pcre -REGAL.INCLUDE += -Isrc/boost REGAL.STATIC ?= libRegallib.a REGAL.SHARED ?= libRegal.so diff --git a/build/regaltest.inc b/build/regaltest.inc index 9478666..d9ae756 100644 --- a/build/regaltest.inc +++ b/build/regaltest.inc @@ -8,7 +8,6 @@ REGALTEST.CXX += tests/test_main.cpp REGALTEST.CXX += tests/testRegalTexC.cpp REGALTEST.CXX += tests/testRegalPixelConversions.cpp -REGALTEST.CXX += tests/testStringList.cpp REGALTEST.CXX += tests/testRegalState.cpp REGALTEST.CXX += tests/testRegalPpa.cpp REGALTEST.CXX += tests/testRegalPpca.cpp diff --git a/scripts/regal/Regal.py b/scripts/regal/Regal.py index 805fddc..d81653d 100755 --- a/scripts/regal/Regal.py +++ b/scripts/regal/Regal.py @@ -792,8 +792,6 @@ REGAL_GLOBAL_BEGIN #include "RegalScopedPtr.h" #include "RegalFrame.h" #include "RegalMarker.h" -#include "RegalDispatcherGL.h" -#include "RegalDispatcherGlobal.h" using namespace REGAL_NAMESPACE_INTERNAL; using namespace ::REGAL_NAMESPACE_INTERNAL::Logging; diff --git a/scripts/regal/RegalContext.py b/scripts/regal/RegalContext.py index fa41b81..0867e1e 100755 --- a/scripts/regal/RegalContext.py +++ b/scripts/regal/RegalContext.py @@ -99,8 +99,6 @@ REGAL_GLOBAL_BEGIN #include "RegalThread.h" #include "RegalPrivate.h" #include "RegalContextInfo.h" -#include "RegalDispatcherGL.h" -#include "RegalDispatcherGlobal.h" #include "RegalDispatchDebug.h" #include "RegalDispatchEmu.h" #include "RegalDispatchLog.h" diff --git a/scripts/regal/dispatch/RegalDispatchGLX.py b/scripts/regal/dispatch/RegalDispatchGLX.py index 13dac0c..398bb06 100755 --- a/scripts/regal/dispatch/RegalDispatchGLX.py +++ b/scripts/regal/dispatch/RegalDispatchGLX.py @@ -34,8 +34,6 @@ REGAL_GLOBAL_BEGIN #include "RegalHelper.h" #include "RegalContext.h" #include "RegalDispatch.h" -#include "RegalDispatcherGL.h" -#include "RegalDispatcherGlobal.h" using namespace ::REGAL_NAMESPACE_INTERNAL::Logging; using namespace ::REGAL_NAMESPACE_INTERNAL::Token; diff --git a/scripts/regal/dispatch/RegalDispatchHttp.py b/scripts/regal/dispatch/RegalDispatchHttp.py index d3d024c..621a62e 100755 --- a/scripts/regal/dispatch/RegalDispatchHttp.py +++ b/scripts/regal/dispatch/RegalDispatchHttp.py @@ -222,8 +222,6 @@ REGAL_GLOBAL_BEGIN #include "RegalHelper.h" #include "RegalContext.h" #include "RegalDispatch.h" -#include "RegalDispatcherGL.h" -#include "RegalDispatcherGlobal.h" using namespace ::REGAL_NAMESPACE_INTERNAL::Logging; using namespace ::REGAL_NAMESPACE_INTERNAL::Token; diff --git a/scripts/regal/dispatch/RegalDispatchLoader.py b/scripts/regal/dispatch/RegalDispatchLoader.py index 9b22e51..f01f6ff 100755 --- a/scripts/regal/dispatch/RegalDispatchLoader.py +++ b/scripts/regal/dispatch/RegalDispatchLoader.py @@ -31,8 +31,6 @@ using namespace std; #include "RegalHelper.h" #include "RegalPrivate.h" #include "RegalContext.h" -#include "RegalDispatcherGL.h" -#include "RegalDispatcherGlobal.h" ${LOCAL_INCLUDE} REGAL_GLOBAL_END diff --git a/scripts/regal/dispatch/RegalDispatchLog.py b/scripts/regal/dispatch/RegalDispatchLog.py index 46743c2..91b7d47 100755 --- a/scripts/regal/dispatch/RegalDispatchLog.py +++ b/scripts/regal/dispatch/RegalDispatchLog.py @@ -31,8 +31,6 @@ REGAL_GLOBAL_BEGIN #include "RegalHelper.h" #include "RegalContext.h" #include "RegalDispatch.h" -#include "RegalDispatcherGL.h" -#include "RegalDispatcherGlobal.h" using namespace ::REGAL_NAMESPACE_INTERNAL::Logging; using namespace ::REGAL_NAMESPACE_INTERNAL::Token; diff --git a/scripts/regal/dispatch/RegalDispatchTrace.py b/scripts/regal/dispatch/RegalDispatchTrace.py index f2d53a7..993a54a 100755 --- a/scripts/regal/dispatch/RegalDispatchTrace.py +++ b/scripts/regal/dispatch/RegalDispatchTrace.py @@ -150,7 +150,7 @@ def generateTraceSource(apis, args): substitute['AUTOGENERATED'] = args.generated substitute['COPYRIGHT'] = args.copyright substitute['DISPATCH_NAME'] = 'Trace' - substitute['LOCAL_INCLUDE'] = '#include "RegalDispatcherGlobal.h"\n' + substitute['LOCAL_INCLUDE'] = '' substitute['LOCAL_CODE'] = '' substitute['API_DISPATCH_FUNC_DEFINE'] = funcDefine substitute['API_DISPATCH_FUNC_INIT'] = funcInit diff --git a/src/boost/boost/config.hpp b/src/boost/boost/config.hpp deleted file mode 100644 index f37585e..0000000 --- a/src/boost/boost/config.hpp +++ /dev/null @@ -1,70 +0,0 @@ -// Boost config.hpp configuration header file ------------------------------// - -// (C) Copyright John Maddock 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org/libs/config for most recent version. - -// Boost config.hpp policy and rationale documentation has been moved to -// http://www.boost.org/libs/config -// -// CAUTION: This file is intended to be completely stable - -// DO NOT MODIFY THIS FILE! -// - -#ifndef BOOST_CONFIG_HPP -#define BOOST_CONFIG_HPP - -// if we don't have a user config, then use the default location: -#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG) -# define BOOST_USER_CONFIG -#endif -// include it first: -#ifdef BOOST_USER_CONFIG -# include BOOST_USER_CONFIG -#endif - -// if we don't have a compiler config set, try and find one: -#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) -# include -#endif -// if we have a compiler config, include it now: -#ifdef BOOST_COMPILER_CONFIG -# include BOOST_COMPILER_CONFIG -#endif - -// if we don't have a std library config set, try and find one: -#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus) -# include -#endif -// if we have a std library config, include it now: -#ifdef BOOST_STDLIB_CONFIG -# include BOOST_STDLIB_CONFIG -#endif - -// if we don't have a platform config set, try and find one: -#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG) -# include -#endif -// if we have a platform config, include it now: -#ifdef BOOST_PLATFORM_CONFIG -# include BOOST_PLATFORM_CONFIG -#endif - -// get config suffix code: -#include - -#endif // BOOST_CONFIG_HPP - - - - - - - - - - - diff --git a/src/boost/boost/config/abi/borland_prefix.hpp b/src/boost/boost/config/abi/borland_prefix.hpp deleted file mode 100644 index 3a0e5ae..0000000 --- a/src/boost/boost/config/abi/borland_prefix.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// (C) Copyright John Maddock 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// for C++ Builder the following options effect the ABI: -// -// -b (on or off - effect emum sizes) -// -Vx (on or off - empty members) -// -Ve (on or off - empty base classes) -// -aX (alignment - 5 options). -// -pX (Calling convention - 4 options) -// -VmX (member pointer size and layout - 5 options) -// -VC (on or off, changes name mangling) -// -Vl (on or off, changes struct layout). - -// In addition the following warnings are sufficiently annoying (and -// unfixable) to have them turned off by default: -// -// 8027 - functions containing [for|while] loops are not expanded inline -// 8026 - functions taking class by value arguments are not expanded inline - -#pragma nopushoptwarn -# pragma option push -a8 -Vx- -Ve- -b- -pc -Vmv -VC- -Vl- -w-8027 -w-8026 - - - diff --git a/src/boost/boost/config/abi/borland_suffix.hpp b/src/boost/boost/config/abi/borland_suffix.hpp deleted file mode 100644 index 940535f..0000000 --- a/src/boost/boost/config/abi/borland_suffix.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// (C) Copyright John Maddock 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -# pragma option pop -#pragma nopushoptwarn - - - - - diff --git a/src/boost/boost/config/abi/msvc_prefix.hpp b/src/boost/boost/config/abi/msvc_prefix.hpp deleted file mode 100644 index 97f06cd..0000000 --- a/src/boost/boost/config/abi/msvc_prefix.hpp +++ /dev/null @@ -1,22 +0,0 @@ -// (C) Copyright John Maddock 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// -// Boost binaries are built with the compiler's default ABI settings, -// if the user changes their default alignment in the VS IDE then their -// code will no longer be binary compatible with the bjam built binaries -// unless this header is included to force Boost code into a consistent ABI. -// -// Note that inclusion of this header is only necessary for libraries with -// separate source, header only libraries DO NOT need this as long as all -// translation units are built with the same options. -// -#if defined(_M_X64) -# pragma pack(push,16) -#else -# pragma pack(push,8) -#endif - - diff --git a/src/boost/boost/config/abi/msvc_suffix.hpp b/src/boost/boost/config/abi/msvc_suffix.hpp deleted file mode 100644 index a64d783..0000000 --- a/src/boost/boost/config/abi/msvc_suffix.hpp +++ /dev/null @@ -1,8 +0,0 @@ -// (C) Copyright John Maddock 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#pragma pack(pop) - - diff --git a/src/boost/boost/config/abi_prefix.hpp b/src/boost/boost/config/abi_prefix.hpp deleted file mode 100644 index 3b13474..0000000 --- a/src/boost/boost/config/abi_prefix.hpp +++ /dev/null @@ -1,25 +0,0 @@ -// abi_prefix header -------------------------------------------------------// - -// (c) Copyright John Maddock 2003 - -// Use, modification and distribution are subject to the Boost Software License, -// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt). - -#ifndef BOOST_CONFIG_ABI_PREFIX_HPP -# define BOOST_CONFIG_ABI_PREFIX_HPP -#else -# error double inclusion of header boost/config/abi_prefix.hpp is an error -#endif - -#include - -// this must occur after all other includes and before any code appears: -#ifdef BOOST_HAS_ABI_HEADERS -# include BOOST_ABI_PREFIX -#endif - -#if defined( __BORLANDC__ ) -#pragma nopushoptwarn -#endif - diff --git a/src/boost/boost/config/abi_suffix.hpp b/src/boost/boost/config/abi_suffix.hpp deleted file mode 100644 index 9391616..0000000 --- a/src/boost/boost/config/abi_suffix.hpp +++ /dev/null @@ -1,27 +0,0 @@ -// abi_sufffix header -------------------------------------------------------// - -// (c) Copyright John Maddock 2003 - -// Use, modification and distribution are subject to the Boost Software License, -// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt). - -// This header should be #included AFTER code that was preceded by a #include -// . - -#ifndef BOOST_CONFIG_ABI_PREFIX_HPP -# error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp -#else -# undef BOOST_CONFIG_ABI_PREFIX_HPP -#endif - -// the suffix header occurs after all of our code: -#ifdef BOOST_HAS_ABI_HEADERS -# include BOOST_ABI_SUFFIX -#endif - -#if defined( __BORLANDC__ ) -#pragma nopushoptwarn -#endif - - diff --git a/src/boost/boost/config/auto_link.hpp b/src/boost/boost/config/auto_link.hpp deleted file mode 100644 index e36d06a..0000000 --- a/src/boost/boost/config/auto_link.hpp +++ /dev/null @@ -1,423 +0,0 @@ -// (C) Copyright John Maddock 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - /* - * LOCATION: see http://www.boost.org for most recent version. - * FILE auto_link.hpp - * VERSION see - * DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers. - */ - -/************************************************************************* - -USAGE: -~~~~~~ - -Before including this header you must define one or more of define the following macros: - -BOOST_LIB_NAME: Required: A string containing the basename of the library, - for example boost_regex. -BOOST_LIB_TOOLSET: Optional: the base name of the toolset. -BOOST_DYN_LINK: Optional: when set link to dll rather than static library. -BOOST_LIB_DIAGNOSTIC: Optional: when set the header will print out the name - of the library selected (useful for debugging). -BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib, - rather than a mangled-name version. -BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option. - This is essentially the same as the default name-mangled version, but without - the compiler name and version, or the Boost version. Just the build options. - -These macros will be undef'ed at the end of the header, further this header -has no include guards - so be sure to include it only once from your library! - -Algorithm: -~~~~~~~~~~ - -Libraries for Borland and Microsoft compilers are automatically -selected here, the name of the lib is selected according to the following -formula: - -BOOST_LIB_PREFIX - + BOOST_LIB_NAME - + "_" - + BOOST_LIB_TOOLSET - + BOOST_LIB_THREAD_OPT - + BOOST_LIB_RT_OPT - "-" - + BOOST_LIB_VERSION - -These are defined as: - -BOOST_LIB_PREFIX: "lib" for static libraries otherwise "". - -BOOST_LIB_NAME: The base name of the lib ( for example boost_regex). - -BOOST_LIB_TOOLSET: The compiler toolset name (vc6, vc7, bcb5 etc). - -BOOST_LIB_THREAD_OPT: "-mt" for multithread builds, otherwise nothing. - -BOOST_LIB_RT_OPT: A suffix that indicates the runtime library used, - contains one or more of the following letters after - a hyphen: - - s static runtime (dynamic if not present). - g debug/diagnostic runtime (release if not present). - y Python debug/diagnostic runtime (release if not present). - d debug build (release if not present). - p STLport build. - n STLport build without its IOStreams. - -BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y. - - -***************************************************************************/ - -#ifdef __cplusplus -# ifndef BOOST_CONFIG_HPP -# include -# endif -#elif defined(_MSC_VER) && !defined(__MWERKS__) && !defined(__EDG_VERSION__) -// -// C language compatability (no, honestly) -// -# define BOOST_MSVC _MSC_VER -# define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X) -# define BOOST_DO_STRINGIZE(X) #X -#endif -// -// Only include what follows for known and supported compilers: -// -#if defined(BOOST_MSVC) \ - || defined(__BORLANDC__) \ - || (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) \ - || (defined(__ICL) && defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200)) - -#ifndef BOOST_VERSION_HPP -# include -#endif - -#ifndef BOOST_LIB_NAME -# error "Macro BOOST_LIB_NAME not set (internal error)" -#endif - -// -// error check: -// -#if defined(__MSVC_RUNTIME_CHECKS) && !defined(_DEBUG) -# pragma message("Using the /RTC option without specifying a debug runtime will lead to linker errors") -# pragma message("Hint: go to the code generation options and switch to one of the debugging runtimes") -# error "Incompatible build options" -#endif -// -// select toolset if not defined already: -// -#ifndef BOOST_LIB_TOOLSET -# if defined(BOOST_MSVC) && (BOOST_MSVC < 1200) - // Note: no compilers before 1200 are supported -# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1300) - -# ifdef UNDER_CE - // eVC4: -# define BOOST_LIB_TOOLSET "evc4" -# else - // vc6: -# define BOOST_LIB_TOOLSET "vc6" -# endif - -# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1310) - - // vc7: -# define BOOST_LIB_TOOLSET "vc7" - -# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1400) - - // vc71: -# define BOOST_LIB_TOOLSET "vc71" - -# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1500) - - // vc80: -# define BOOST_LIB_TOOLSET "vc80" - -# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1600) - - // vc90: -# define BOOST_LIB_TOOLSET "vc90" - -# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1700) - - // vc10: -# define BOOST_LIB_TOOLSET "vc100" - -# elif defined(BOOST_MSVC) - - // vc11: -# define BOOST_LIB_TOOLSET "vc110" - -# elif defined(__BORLANDC__) - - // CBuilder 6: -# define BOOST_LIB_TOOLSET "bcb" - -# elif defined(__ICL) - - // Intel C++, no version number: -# define BOOST_LIB_TOOLSET "iw" - -# elif defined(__MWERKS__) && (__MWERKS__ <= 0x31FF ) - - // Metrowerks CodeWarrior 8.x -# define BOOST_LIB_TOOLSET "cw8" - -# elif defined(__MWERKS__) && (__MWERKS__ <= 0x32FF ) - - // Metrowerks CodeWarrior 9.x -# define BOOST_LIB_TOOLSET "cw9" - -# endif -#endif // BOOST_LIB_TOOLSET - -// -// select thread opt: -// -#if defined(_MT) || defined(__MT__) -# define BOOST_LIB_THREAD_OPT "-mt" -#else -# define BOOST_LIB_THREAD_OPT -#endif - -#if defined(_MSC_VER) || defined(__MWERKS__) - -# ifdef _DLL - -# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS)) - -# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-gydp" -# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG)) -# define BOOST_LIB_RT_OPT "-gdp" -# elif defined(_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-gydp" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# elif defined(_DEBUG) -# define BOOST_LIB_RT_OPT "-gdp" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# else -# define BOOST_LIB_RT_OPT "-p" -# endif - -# elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) - -# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-gydpn" -# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG)) -# define BOOST_LIB_RT_OPT "-gdpn" -# elif defined(_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-gydpn" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# elif defined(_DEBUG) -# define BOOST_LIB_RT_OPT "-gdpn" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# else -# define BOOST_LIB_RT_OPT "-pn" -# endif - -# else - -# if defined(_DEBUG) && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-gyd" -# elif defined(_DEBUG) -# define BOOST_LIB_RT_OPT "-gd" -# else -# define BOOST_LIB_RT_OPT -# endif - -# endif - -# else - -# if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS)) - -# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-sgydp" -# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG)) -# define BOOST_LIB_RT_OPT "-sgdp" -# elif defined(_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-sgydp" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# elif defined(_DEBUG) -# define BOOST_LIB_RT_OPT "-sgdp" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# else -# define BOOST_LIB_RT_OPT "-sp" -# endif - -# elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) - -# if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-sgydpn" -# elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG)) -# define BOOST_LIB_RT_OPT "-sgdpn" -# elif defined(_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-sgydpn" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# elif defined(_DEBUG) -# define BOOST_LIB_RT_OPT "-sgdpn" -# pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1") -# error "Build options aren't compatible with pre-built libraries" -# else -# define BOOST_LIB_RT_OPT "-spn" -# endif - -# else - -# if defined(_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-sgyd" -# elif defined(_DEBUG) -# define BOOST_LIB_RT_OPT "-sgd" -# else -# define BOOST_LIB_RT_OPT "-s" -# endif - -# endif - -# endif - -#elif defined(__BORLANDC__) - -// -// figure out whether we want the debug builds or not: -// -#if __BORLANDC__ > 0x561 -#pragma defineonoption BOOST_BORLAND_DEBUG -v -#endif -// -// sanity check: -// -#if defined(__STL_DEBUG) || defined(_STLP_DEBUG) -#error "Pre-built versions of the Boost libraries are not provided in STLport-debug form" -#endif - -# ifdef _RTLDLL - -# if defined(BOOST_BORLAND_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-yd" -# elif defined(BOOST_BORLAND_DEBUG) -# define BOOST_LIB_RT_OPT "-d" -# elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT -y -# else -# define BOOST_LIB_RT_OPT -# endif - -# else - -# if defined(BOOST_BORLAND_DEBUG)\ - && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-syd" -# elif defined(BOOST_BORLAND_DEBUG) -# define BOOST_LIB_RT_OPT "-sd" -# elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON) -# define BOOST_LIB_RT_OPT "-sy" -# else -# define BOOST_LIB_RT_OPT "-s" -# endif - -# endif - -#endif - -// -// select linkage opt: -// -#if (defined(_DLL) || defined(_RTLDLL)) && defined(BOOST_DYN_LINK) -# define BOOST_LIB_PREFIX -#elif defined(BOOST_DYN_LINK) -# error "Mixing a dll boost library with a static runtime is a really bad idea..." -#else -# define BOOST_LIB_PREFIX "lib" -#endif - -// -// now include the lib: -// -#if defined(BOOST_LIB_NAME) \ - && defined(BOOST_LIB_PREFIX) \ - && defined(BOOST_LIB_TOOLSET) \ - && defined(BOOST_LIB_THREAD_OPT) \ - && defined(BOOST_LIB_RT_OPT) \ - && defined(BOOST_LIB_VERSION) - -#ifdef BOOST_AUTO_LINK_TAGGED -# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib") -# ifdef BOOST_LIB_DIAGNOSTIC -# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT ".lib") -# endif -#elif defined(BOOST_AUTO_LINK_NOMANGLE) -# pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib") -# ifdef BOOST_LIB_DIAGNOSTIC -# pragma message ("Linking to lib file: " BOOST_STRINGIZE(BOOST_LIB_NAME) ".lib") -# endif -#else -# pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib") -# ifdef BOOST_LIB_DIAGNOSTIC -# pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT "-" BOOST_LIB_VERSION ".lib") -# endif -#endif - -#else -# error "some required macros where not defined (internal logic error)." -#endif - - -#endif // _MSC_VER || __BORLANDC__ - -// -// finally undef any macros we may have set: -// -#ifdef BOOST_LIB_PREFIX -# undef BOOST_LIB_PREFIX -#endif -#if defined(BOOST_LIB_NAME) -# undef BOOST_LIB_NAME -#endif -// Don't undef this one: it can be set by the user and should be the -// same for all libraries: -//#if defined(BOOST_LIB_TOOLSET) -//# undef BOOST_LIB_TOOLSET -//#endif -#if defined(BOOST_LIB_THREAD_OPT) -# undef BOOST_LIB_THREAD_OPT -#endif -#if defined(BOOST_LIB_RT_OPT) -# undef BOOST_LIB_RT_OPT -#endif -#if defined(BOOST_LIB_LINK_OPT) -# undef BOOST_LIB_LINK_OPT -#endif -#if defined(BOOST_LIB_DEBUG_OPT) -# undef BOOST_LIB_DEBUG_OPT -#endif -#if defined(BOOST_DYN_LINK) -# undef BOOST_DYN_LINK -#endif - diff --git a/src/boost/boost/config/compiler/borland.hpp b/src/boost/boost/config/compiler/borland.hpp deleted file mode 100644 index cffa8ea..0000000 --- a/src/boost/boost/config/compiler/borland.hpp +++ /dev/null @@ -1,287 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright David Abrahams 2002 - 2003. -// (C) Copyright Aleksey Gurtovoy 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Borland C++ compiler setup: - -// -// versions check: -// we don't support Borland prior to version 5.4: -#if __BORLANDC__ < 0x540 -# error "Compiler not supported or configured - please reconfigure" -#endif - -// last known compiler version: -#if (__BORLANDC__ > 0x613) -//# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -//# else -//# pragma message( "Unknown compiler version - please run the configure tests and report the results") -//# endif -#elif (__BORLANDC__ == 0x600) -# error "CBuilderX preview compiler is no longer supported" -#endif - -// -// Support macros to help with standard library detection -#if (__BORLANDC__ < 0x560) || defined(_USE_OLD_RW_STL) -# define BOOST_BCB_WITH_ROGUE_WAVE -#elif __BORLANDC__ < 0x570 -# define BOOST_BCB_WITH_STLPORT -#else -# define BOOST_BCB_WITH_DINKUMWARE -#endif - -// -// Version 5.0 and below: -# if __BORLANDC__ <= 0x0550 -// Borland C++Builder 4 and 5: -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# if __BORLANDC__ == 0x0550 -// Borland C++Builder 5, command-line compiler 5.5: -# define BOOST_NO_OPERATORS_IN_NAMESPACE -# endif -// Variadic macros do not exist for C++ Builder versions 5 and below -#define BOOST_NO_CXX11_VARIADIC_MACROS -# endif - -// Version 5.51 and below: -#if (__BORLANDC__ <= 0x551) -# define BOOST_NO_CV_SPECIALIZATIONS -# define BOOST_NO_CV_VOID_SPECIALIZATIONS -# define BOOST_NO_DEDUCED_TYPENAME -// workaround for missing WCHAR_MAX/WCHAR_MIN: -#ifdef __cplusplus -#include -#include -#else -#include -#include -#endif // __cplusplus -#ifndef WCHAR_MAX -# define WCHAR_MAX 0xffff -#endif -#ifndef WCHAR_MIN -# define WCHAR_MIN 0 -#endif -#endif - -// Borland C++ Builder 6 and below: -#if (__BORLANDC__ <= 0x564) - -# if defined(NDEBUG) && defined(__cplusplus) - // fix broken so that Boost.test works: -# include -# undef strcmp -# endif - // fix broken errno declaration: -# include -# ifndef errno -# define errno errno -# endif - -#endif - -// -// new bug in 5.61: -#if (__BORLANDC__ >= 0x561) && (__BORLANDC__ <= 0x580) - // this seems to be needed by the command line compiler, but not the IDE: -# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS -#endif - -// Borland C++ Builder 2006 Update 2 and below: -#if (__BORLANDC__ <= 0x582) -# define BOOST_NO_SFINAE -# define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG -# define BOOST_NO_TEMPLATE_TEMPLATES - -# define BOOST_NO_PRIVATE_IN_AGGREGATE - -# ifdef _WIN32 -# define BOOST_NO_SWPRINTF -# elif defined(linux) || defined(__linux__) || defined(__linux) - // we should really be able to do without this - // but the wcs* functions aren't imported into std:: -# define BOOST_NO_STDC_NAMESPACE - // _CPPUNWIND doesn't get automatically set for some reason: -# pragma defineonoption BOOST_CPPUNWIND -x -# endif -#endif - -#if (__BORLANDC__ <= 0x613) // Beman has asked Alisdair for more info - // we shouldn't really need this - but too many things choke - // without it, this needs more investigation: -# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -# define BOOST_NO_IS_ABSTRACT -# define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS -# define BOOST_NO_USING_TEMPLATE -# define BOOST_SP_NO_SP_CONVERTIBLE - -// Temporary workaround -#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -#endif - -// Borland C++ Builder 2008 and below: -# define BOOST_NO_INTEGRAL_INT64_T -# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE -# define BOOST_NO_NESTED_FRIENDSHIP -# define BOOST_NO_TYPENAME_WITH_CTOR -#if (__BORLANDC__ < 0x600) -# define BOOST_ILLEGAL_CV_REFERENCES -#endif - -// -// Positive Feature detection -// -// Borland C++ Builder 2008 and below: -#if (__BORLANDC__ >= 0x599) -# pragma defineonoption BOOST_CODEGEAR_0X_SUPPORT -Ax -#endif -// -// C++0x Macros: -// -#if !defined( BOOST_CODEGEAR_0X_SUPPORT ) || (__BORLANDC__ < 0x610) -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_CHAR32_T -# define BOOST_NO_CXX11_DECLTYPE -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_CXX11_EXTERN_TEMPLATE -# define BOOST_NO_CXX11_RVALUE_REFERENCES -# define BOOST_NO_CXX11_SCOPED_ENUMS -# define BOOST_NO_CXX11_STATIC_ASSERT -#else -# define BOOST_HAS_ALIGNOF -# define BOOST_HAS_CHAR16_T -# define BOOST_HAS_CHAR32_T -# define BOOST_HAS_DECLTYPE -# define BOOST_HAS_EXPLICIT_CONVERSION_OPS -# define BOOST_HAS_REF_QUALIFIER -# define BOOST_HAS_RVALUE_REFS -# define BOOST_HAS_STATIC_ASSERT -#endif - -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS // UTF-8 still not supported -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -#if __BORLANDC__ >= 0x590 -# define BOOST_HAS_TR1_HASH - -# define BOOST_HAS_MACRO_USE_FACET -#endif - -// -// Post 0x561 we have long long and stdint.h: -#if __BORLANDC__ >= 0x561 -# ifndef __NO_LONG_LONG -# define BOOST_HAS_LONG_LONG -# else -# define BOOST_NO_LONG_LONG -# endif - // On non-Win32 platforms let the platform config figure this out: -# ifdef _WIN32 -# define BOOST_HAS_STDINT_H -# endif -#endif - -// Borland C++Builder 6 defaults to using STLPort. If _USE_OLD_RW_STL is -// defined, then we have 0x560 or greater with the Rogue Wave implementation -// which presumably has the std::DBL_MAX bug. -#if defined( BOOST_BCB_WITH_ROGUE_WAVE ) -// is partly broken, some macros define symbols that are really in -// namespace std, so you end up having to use illegal constructs like -// std::DBL_MAX, as a fix we'll just include float.h and have done with: -#include -#endif -// -// __int64: -// -#if (__BORLANDC__ >= 0x530) && !defined(__STRICT_ANSI__) -# define BOOST_HAS_MS_INT64 -#endif -// -// check for exception handling support: -// -#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif -// -// all versions have a : -// -#ifndef __STRICT_ANSI__ -# define BOOST_HAS_DIRENT_H -#endif -// -// all versions support __declspec: -// -#if defined(__STRICT_ANSI__) -// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined -# define BOOST_SYMBOL_EXPORT -#endif -// -// ABI fixing headers: -// -#if __BORLANDC__ != 0x600 // not implemented for version 6 compiler yet -#ifndef BOOST_ABI_PREFIX -# define BOOST_ABI_PREFIX "boost/config/abi/borland_prefix.hpp" -#endif -#ifndef BOOST_ABI_SUFFIX -# define BOOST_ABI_SUFFIX "boost/config/abi/borland_suffix.hpp" -#endif -#endif -// -// Disable Win32 support in ANSI mode: -// -#if __BORLANDC__ < 0x600 -# pragma defineonoption BOOST_DISABLE_WIN32 -A -#elif defined(__STRICT_ANSI__) -# define BOOST_DISABLE_WIN32 -#endif -// -// MSVC compatibility mode does some nasty things: -// TODO: look up if this doesn't apply to the whole 12xx range -// -#if defined(_MSC_VER) && (_MSC_VER <= 1200) -# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP -# define BOOST_NO_VOID_RETURNS -#endif - -// Borland did not implement value-initialization completely, as I reported -// in 2007, Borland Report 51854, "Value-initialization: POD struct should be -// zero-initialized", http://qc.embarcadero.com/wc/qcmain.aspx?d=51854 -// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues -// (Niels Dekker, LKEB, April 2010) -#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION - -#define BOOST_COMPILER "Borland C++ version " BOOST_STRINGIZE(__BORLANDC__) - - - - diff --git a/src/boost/boost/config/compiler/clang.hpp b/src/boost/boost/config/compiler/clang.hpp deleted file mode 100644 index 18d6e54..0000000 --- a/src/boost/boost/config/compiler/clang.hpp +++ /dev/null @@ -1,144 +0,0 @@ -// (C) Copyright Douglas Gregor 2010 -// -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Clang compiler setup. - -#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif - -#if !__has_feature(cxx_rtti) && !defined(BOOST_NO_RTTI) -# define BOOST_NO_RTTI -#endif - -#if !__has_feature(cxx_rtti) && !defined(BOOST_NO_TYPEID) -# define BOOST_NO_TYPEID -#endif - -#if defined(__int64) -# define BOOST_HAS_MS_INT64 -#endif - -#define BOOST_HAS_NRVO - -// Clang supports "long long" in all compilation modes. -#define BOOST_HAS_LONG_LONG - -// -// Dynamic shared object (DSO) and dynamic-link library (DLL) support -// -#if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32) -# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default"))) -# define BOOST_SYMBOL_IMPORT -# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default"))) -#endif - -#if !__has_feature(cxx_auto_type) -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#endif - -#if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L) -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_CHAR32_T -#endif - -#if !__has_feature(cxx_constexpr) -# define BOOST_NO_CXX11_CONSTEXPR -#endif - -#if !__has_feature(cxx_decltype) -# define BOOST_NO_CXX11_DECLTYPE -#endif - -#if !__has_feature(cxx_decltype_incomplete_return_types) -# define BOOST_NO_CXX11_DECLTYPE_N3276 -#endif - -#if !__has_feature(cxx_defaulted_functions) -# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#endif - -#if !__has_feature(cxx_deleted_functions) -# define BOOST_NO_CXX11_DELETED_FUNCTIONS -#endif - -#if !__has_feature(cxx_explicit_conversions) -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#endif - -#if !__has_feature(cxx_default_function_template_args) -# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#endif - -#if !__has_feature(cxx_generalized_initializers) -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#endif - -#if !__has_feature(cxx_lambdas) -# define BOOST_NO_CXX11_LAMBDAS -#endif - -#if !__has_feature(cxx_local_type_template_args) -# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#endif - -#if !__has_feature(cxx_noexcept) -# define BOOST_NO_CXX11_NOEXCEPT -#endif - -#if !__has_feature(cxx_nullptr) -# define BOOST_NO_CXX11_NULLPTR -#endif - -#if !__has_feature(cxx_range_for) -# define BOOST_NO_CXX11_RANGE_BASED_FOR -#endif - -#if !__has_feature(cxx_raw_string_literals) -# define BOOST_NO_CXX11_RAW_LITERALS -#endif - -#if !__has_feature(cxx_generalized_initializers) -# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -#endif - -#if !__has_feature(cxx_rvalue_references) -# define BOOST_NO_CXX11_RVALUE_REFERENCES -#endif - -#if !__has_feature(cxx_strong_enums) -# define BOOST_NO_CXX11_SCOPED_ENUMS -#endif - -#if !__has_feature(cxx_static_assert) -# define BOOST_NO_CXX11_STATIC_ASSERT -#endif - -#if !__has_feature(cxx_alias_templates) -# define BOOST_NO_CXX11_TEMPLATE_ALIASES -#endif - -#if !__has_feature(cxx_unicode_literals) -# define BOOST_NO_CXX11_UNICODE_LITERALS -#endif - -#if !__has_feature(cxx_variadic_templates) -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#endif - -// Clang always supports variadic macros -// Clang always supports extern templates - -#ifndef BOOST_COMPILER -# define BOOST_COMPILER "Clang version " __clang_version__ -#endif - -// Macro used to identify the Clang compiler. -#define BOOST_CLANG 1 - diff --git a/src/boost/boost/config/compiler/codegear.hpp b/src/boost/boost/config/compiler/codegear.hpp deleted file mode 100644 index 1a6df33..0000000 --- a/src/boost/boost/config/compiler/codegear.hpp +++ /dev/null @@ -1,179 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright David Abrahams 2002 - 2003. -// (C) Copyright Aleksey Gurtovoy 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// CodeGear C++ compiler setup: - -#if !defined( BOOST_WITH_CODEGEAR_WARNINGS ) -// these warnings occur frequently in optimized template code -# pragma warn -8004 // var assigned value, but never used -# pragma warn -8008 // condition always true/false -# pragma warn -8066 // dead code can never execute -# pragma warn -8104 // static members with ctors not threadsafe -# pragma warn -8105 // reference member in class without ctors -#endif -// -// versions check: -// last known and checked version is 0x621 -#if (__CODEGEARC__ > 0x621) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# else -# pragma message( "Unknown compiler version - please run the configure tests and report the results") -# endif -#endif - -// CodeGear C++ Builder 2009 -#if (__CODEGEARC__ <= 0x613) -# define BOOST_NO_INTEGRAL_INT64_T -# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS -# define BOOST_NO_PRIVATE_IN_AGGREGATE -# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE - // we shouldn't really need this - but too many things choke - // without it, this needs more investigation: -# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -# define BOOST_SP_NO_SP_CONVERTIBLE -#endif - -// CodeGear C++ Builder 2010 -#if (__CODEGEARC__ <= 0x621) -# define BOOST_NO_TYPENAME_WITH_CTOR // Cannot use typename keyword when making temporaries of a dependant type -# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_NESTED_FRIENDSHIP // TC1 gives nested classes access rights as any other member -# define BOOST_NO_USING_TEMPLATE -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -// Temporary hack, until specific MPL preprocessed headers are generated -# define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS - -// CodeGear has not yet completely implemented value-initialization, for -// example for array types, as I reported in 2010: Embarcadero Report 83751, -// "Value-initialization: arrays should have each element value-initialized", -// http://qc.embarcadero.com/wc/qcmain.aspx?d=83751 -// Last checked version: Embarcadero C++ 6.21 -// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues -// (Niels Dekker, LKEB, April 2010) -# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION - -# if defined(NDEBUG) && defined(__cplusplus) - // fix broken so that Boost.test works: -# include -# undef strcmp -# endif - // fix broken errno declaration: -# include -# ifndef errno -# define errno errno -# endif - -#endif -// -// C++0x macros: -// -#if (__CODEGEARC__ <= 0x620) -#define BOOST_NO_CXX11_STATIC_ASSERT -#else -#define BOOST_HAS_STATIC_ASSERT -#endif -#define BOOST_HAS_CHAR16_T -#define BOOST_HAS_CHAR32_T -#define BOOST_HAS_LONG_LONG -// #define BOOST_HAS_ALIGNOF -#define BOOST_HAS_DECLTYPE -#define BOOST_HAS_EXPLICIT_CONVERSION_OPS -// #define BOOST_HAS_RVALUE_REFS -#define BOOST_HAS_SCOPED_ENUM -// #define BOOST_HAS_STATIC_ASSERT -#define BOOST_HAS_STD_TYPE_TRAITS - -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -// -// TR1 macros: -// -#define BOOST_HAS_TR1_HASH -#define BOOST_HAS_TR1_TYPE_TRAITS -#define BOOST_HAS_TR1_UNORDERED_MAP -#define BOOST_HAS_TR1_UNORDERED_SET - -#define BOOST_HAS_MACRO_USE_FACET - -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST - -// On non-Win32 platforms let the platform config figure this out: -#ifdef _WIN32 -# define BOOST_HAS_STDINT_H -#endif - -// -// __int64: -// -#if !defined(__STRICT_ANSI__) -# define BOOST_HAS_MS_INT64 -#endif -// -// check for exception handling support: -// -#if !defined(_CPPUNWIND) && !defined(BOOST_CPPUNWIND) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif -// -// all versions have a : -// -#if !defined(__STRICT_ANSI__) -# define BOOST_HAS_DIRENT_H -#endif -// -// all versions support __declspec: -// -#if defined(__STRICT_ANSI__) -// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined -# define BOOST_SYMBOL_EXPORT -#endif -// -// ABI fixing headers: -// -#ifndef BOOST_ABI_PREFIX -# define BOOST_ABI_PREFIX "boost/config/abi/borland_prefix.hpp" -#endif -#ifndef BOOST_ABI_SUFFIX -# define BOOST_ABI_SUFFIX "boost/config/abi/borland_suffix.hpp" -#endif -// -// Disable Win32 support in ANSI mode: -// -# pragma defineonoption BOOST_DISABLE_WIN32 -A -// -// MSVC compatibility mode does some nasty things: -// TODO: look up if this doesn't apply to the whole 12xx range -// -#if defined(_MSC_VER) && (_MSC_VER <= 1200) -# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP -# define BOOST_NO_VOID_RETURNS -#endif - -#define BOOST_COMPILER "CodeGear C++ version " BOOST_STRINGIZE(__CODEGEARC__) - diff --git a/src/boost/boost/config/compiler/comeau.hpp b/src/boost/boost/config/compiler/comeau.hpp deleted file mode 100644 index 278222d..0000000 --- a/src/boost/boost/config/compiler/comeau.hpp +++ /dev/null @@ -1,59 +0,0 @@ -// (C) Copyright John Maddock 2001. -// (C) Copyright Douglas Gregor 2001. -// (C) Copyright Peter Dimov 2001. -// (C) Copyright Aleksey Gurtovoy 2003. -// (C) Copyright Beman Dawes 2003. -// (C) Copyright Jens Maurer 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Comeau C++ compiler setup: - -#include "boost/config/compiler/common_edg.hpp" - -#if (__COMO_VERSION__ <= 4245) - -# if defined(_MSC_VER) && _MSC_VER <= 1300 -# if _MSC_VER > 100 - // only set this in non-strict mode: -# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP -# endif -# endif - -// Void returns don't work when emulating VC 6 (Peter Dimov) -// TODO: look up if this doesn't apply to the whole 12xx range -# if defined(_MSC_VER) && (_MSC_VER < 1300) -# define BOOST_NO_VOID_RETURNS -# endif - -#endif // version 4245 - -// -// enable __int64 support in VC emulation mode -// -# if defined(_MSC_VER) && (_MSC_VER >= 1200) -# define BOOST_HAS_MS_INT64 -# endif - -#define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__) - -// -// versions check: -// we don't know Comeau prior to version 4245: -#if __COMO_VERSION__ < 4245 -# error "Compiler not configured - please reconfigure" -#endif -// -// last known and checked version is 4245: -#if (__COMO_VERSION__ > 4245) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - - - - diff --git a/src/boost/boost/config/compiler/common_edg.hpp b/src/boost/boost/config/compiler/common_edg.hpp deleted file mode 100644 index 441a055..0000000 --- a/src/boost/boost/config/compiler/common_edg.hpp +++ /dev/null @@ -1,103 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2002. -// (C) Copyright Jens Maurer 2001. -// (C) Copyright David Abrahams 2002. -// (C) Copyright Aleksey Gurtovoy 2002. -// (C) Copyright Markus Schoepflin 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// -// Options common to all edg based compilers. -// -// This is included from within the individual compiler mini-configs. - -#ifndef __EDG_VERSION__ -# error This file requires that __EDG_VERSION__ be defined. -#endif - -#if (__EDG_VERSION__ <= 238) -# define BOOST_NO_INTEGRAL_INT64_T -# define BOOST_NO_SFINAE -#endif - -#if (__EDG_VERSION__ <= 240) -# define BOOST_NO_VOID_RETURNS -#endif - -#if (__EDG_VERSION__ <= 241) && !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) -# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP -#endif - -#if (__EDG_VERSION__ <= 244) && !defined(BOOST_NO_TEMPLATE_TEMPLATES) -# define BOOST_NO_TEMPLATE_TEMPLATES -#endif - -#if (__EDG_VERSION__ < 300) && !defined(BOOST_NO_IS_ABSTRACT) -# define BOOST_NO_IS_ABSTRACT -#endif - -#if (__EDG_VERSION__ <= 303) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) -# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -#endif - -// See also kai.hpp which checks a Kai-specific symbol for EH -# if !defined(__KCC) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -# endif - -# if !defined(__NO_LONG_LONG) -# define BOOST_HAS_LONG_LONG -# else -# define BOOST_NO_LONG_LONG -# endif - -// -// C++0x features -// -// See above for BOOST_NO_LONG_LONG -// -#if (__EDG_VERSION__ < 310) -# define BOOST_NO_CXX11_EXTERN_TEMPLATE -#endif -#if (__EDG_VERSION__ <= 310) -// No support for initializer lists -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#endif -#if (__EDG_VERSION__ < 400) -# define BOOST_NO_CXX11_VARIADIC_MACROS -#endif - -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -#ifdef c_plusplus -// EDG has "long long" in non-strict mode -// However, some libraries have insufficient "long long" support -// #define BOOST_HAS_LONG_LONG -#endif diff --git a/src/boost/boost/config/compiler/compaq_cxx.hpp b/src/boost/boost/config/compiler/compaq_cxx.hpp deleted file mode 100644 index b44486c..0000000 --- a/src/boost/boost/config/compiler/compaq_cxx.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Tru64 C++ compiler setup (now HP): - -#define BOOST_COMPILER "HP Tru64 C++ " BOOST_STRINGIZE(__DECCXX_VER) - -#include "boost/config/compiler/common_edg.hpp" - -// -// versions check: -// Nothing to do here? - - - diff --git a/src/boost/boost/config/compiler/cray.hpp b/src/boost/boost/config/compiler/cray.hpp deleted file mode 100644 index 5463ea0..0000000 --- a/src/boost/boost/config/compiler/cray.hpp +++ /dev/null @@ -1,63 +0,0 @@ -// (C) Copyright John Maddock 2011. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Greenhills C compiler setup: - -#define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE) - -#if _RELEASE < 7 -# error "Boost is not configured for Cray compilers prior to version 7, please try the configure script." -#endif - -// -// Check this is a recent EDG based compiler, otherwise we don't support it here: -// -#ifndef __EDG_VERSION__ -# error "Unsupported Cray compiler, please try running the configure script." -#endif - -#include "boost/config/compiler/common_edg.hpp" - -// -// Cray peculiarities, probably version 7 specific: -// -#undef BOOST_NO_CXX11_AUTO_DECLARATIONS -#undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_HAS_NRVO -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_HAS_NRVO -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CHAR16_T -//#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG -#define BOOST_MATH_DISABLE_STD_FPCLASSIFY -//#define BOOST_HAS_FPCLASSIFY - -#define BOOST_SP_USE_PTHREADS -#define BOOST_AC_USE_PTHREADS - diff --git a/src/boost/boost/config/compiler/digitalmars.hpp b/src/boost/boost/config/compiler/digitalmars.hpp deleted file mode 100644 index 15cc209..0000000 --- a/src/boost/boost/config/compiler/digitalmars.hpp +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (C) Christof Meerwald 2003 -// Copyright (C) Dan Watkins 2003 -// -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// Digital Mars C++ compiler setup: -#define BOOST_COMPILER __DMC_VERSION_STRING__ - -#define BOOST_HAS_LONG_LONG -#define BOOST_HAS_PRAGMA_ONCE - -#if (__DMC__ <= 0x833) -#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -#define BOOST_NO_TEMPLATE_TEMPLATES -#define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING -#define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS -#define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS -#endif -#if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG) -#define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS -#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -#define BOOST_NO_OPERATORS_IN_NAMESPACE -#define BOOST_NO_UNREACHABLE_RETURN_DETECTION -#define BOOST_NO_SFINAE -#define BOOST_NO_USING_TEMPLATE -#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -#endif - -// -// has macros: -#if (__DMC__ >= 0x840) -#define BOOST_HAS_DIRENT_H -#define BOOST_HAS_STDINT_H -#define BOOST_HAS_WINTHREADS -#endif - -#if (__DMC__ >= 0x847) -#define BOOST_HAS_EXPM1 -#define BOOST_HAS_LOG1P -#endif - -// -// Is this really the best way to detect whether the std lib is in namespace std? -// -#ifdef __cplusplus -#include -#endif -#if !defined(__STL_IMPORT_VENDOR_CSTD) && !defined(_STLP_IMPORT_VENDOR_CSTD) -# define BOOST_NO_STDC_NAMESPACE -#endif - - -// check for exception handling support: -#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif - -// -// C++0x features -// -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -#if (__DMC__ < 0x812) -#define BOOST_NO_CXX11_VARIADIC_MACROS -#endif - -#if __DMC__ < 0x800 -#error "Compiler not supported or configured - please reconfigure" -#endif -// -// last known and checked version is ...: -#if (__DMC__ > 0x848) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif diff --git a/src/boost/boost/config/compiler/gcc.hpp b/src/boost/boost/config/compiler/gcc.hpp deleted file mode 100644 index c0ac30a..0000000 --- a/src/boost/boost/config/compiler/gcc.hpp +++ /dev/null @@ -1,260 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Darin Adler 2001 - 2002. -// (C) Copyright Jens Maurer 2001 - 2002. -// (C) Copyright Beman Dawes 2001 - 2003. -// (C) Copyright Douglas Gregor 2002. -// (C) Copyright David Abrahams 2002 - 2003. -// (C) Copyright Synge Todo 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// GNU C++ compiler setup: - -#if __GNUC__ < 3 -# if __GNUC_MINOR__ == 91 - // egcs 1.1 won't parse shared_ptr.hpp without this: -# define BOOST_NO_AUTO_PTR -# endif -# if __GNUC_MINOR__ < 95 - // - // Prior to gcc 2.95 member templates only partly - // work - define BOOST_MSVC6_MEMBER_TEMPLATES - // instead since inline member templates mostly work. - // -# define BOOST_NO_MEMBER_TEMPLATES -# if __GNUC_MINOR__ >= 9 -# define BOOST_MSVC6_MEMBER_TEMPLATES -# endif -# endif - -# if __GNUC_MINOR__ < 96 -# define BOOST_NO_SFINAE -# endif - -# if __GNUC_MINOR__ <= 97 -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_OPERATORS_IN_NAMESPACE -# endif - -# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE -# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -# define BOOST_NO_IS_ABSTRACT -# define BOOST_NO_CXX11_EXTERN_TEMPLATE -// Variadic macros do not exist for gcc versions before 3.0 -# define BOOST_NO_CXX11_VARIADIC_MACROS -#elif __GNUC__ == 3 -# if defined (__PATHSCALE__) -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -# define BOOST_NO_IS_ABSTRACT -# endif - // - // gcc-3.x problems: - // - // Bug specific to gcc 3.1 and 3.2: - // -# if ((__GNUC_MINOR__ == 1) || (__GNUC_MINOR__ == 2)) -# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS -# endif -# if __GNUC_MINOR__ < 4 -# define BOOST_NO_IS_ABSTRACT -# endif -# define BOOST_NO_CXX11_EXTERN_TEMPLATE -#endif -#if __GNUC__ < 4 -// -// All problems to gcc-3.x and earlier here: -// -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -# ifdef __OPEN64__ -# define BOOST_NO_IS_ABSTRACT -# endif -#endif - -#if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 ) -// Previous versions of GCC did not completely implement value-initialization: -// GCC Bug 30111, "Value-initialization of POD base class doesn't initialize -// members", reported by Jonathan Wakely in 2006, -// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111 (fixed for GCC 4.4) -// GCC Bug 33916, "Default constructor fails to initialize array members", -// reported by Michael Elizabeth Chastain in 2007, -// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916 (fixed for GCC 4.2.4) -// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues -#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -#endif - -#if !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif - - -// -// Threading support: Turn this on unconditionally here (except for -// those platforms where we can know for sure). It will get turned off again -// later if no threading API is detected. -// -#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__) -# define BOOST_HAS_THREADS -#endif - -// -// gcc has "long long" -// -#define BOOST_HAS_LONG_LONG - -// -// gcc implements the named return value optimization since version 3.1 -// -#if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 ) -#define BOOST_HAS_NRVO -#endif - -// -// Dynamic shared object (DSO) and dynamic-link library (DLL) support -// -#if __GNUC__ >= 4 -# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__CYGWIN__) - // All Win32 development environments, including 64-bit Windows and MinGW, define - // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment, - // so does not define _WIN32 or its variants. -# define BOOST_HAS_DECLSPEC -# define BOOST_SYMBOL_EXPORT __attribute__((dllexport)) -# define BOOST_SYMBOL_IMPORT __attribute__((dllimport)) -# else -# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default"))) -# define BOOST_SYMBOL_IMPORT -# endif -# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) -#else -// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined -# define BOOST_SYMBOL_EXPORT -#endif - -// -// RTTI and typeinfo detection is possible post gcc-4.3: -// -#if __GNUC__ * 100 + __GNUC_MINOR__ >= 403 -# ifndef __GXX_RTTI -# ifndef BOOST_NO_TYPEID -# define BOOST_NO_TYPEID -# endif -# ifndef BOOST_NO_RTTI -# define BOOST_NO_RTTI -# endif -# endif -#endif - -// -// Recent GCC versions have __int128 when in 64-bit mode: -// -#if defined(__SIZEOF_INT128__) -# define BOOST_HAS_INT128 -#endif - -// C++0x features in 4.3.n and later -// -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__) -// C++0x features are only enabled when -std=c++0x or -std=gnu++0x are -// passed on the command line, which in turn defines -// __GXX_EXPERIMENTAL_CXX0X__. -# define BOOST_HAS_DECLTYPE -# define BOOST_HAS_RVALUE_REFS -# define BOOST_HAS_STATIC_ASSERT -# define BOOST_HAS_VARIADIC_TMPL -#else -# define BOOST_NO_CXX11_DECLTYPE -# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -# define BOOST_NO_CXX11_RVALUE_REFERENCES -# define BOOST_NO_CXX11_STATIC_ASSERT - -// Variadic templates compiler: -// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html -# if defined(__VARIADIC_TEMPLATES) || (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4) && defined(__GXX_EXPERIMENTAL_CXX0X__)) -# define BOOST_HAS_VARIADIC_TMPL -# else -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -# endif -#endif - -// C++0x features in 4.4.n and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_CHAR32_T -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -# define BOOST_NO_CXX11_DELETED_FUNCTIONS -#endif - -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) -# define BOOST_NO_SFINAE_EXPR -#endif - -// C++0x features in 4.5.0 and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_CXX11_LAMBDAS -# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -# define BOOST_NO_CXX11_RAW_LITERALS -# define BOOST_NO_CXX11_UNICODE_LITERALS -#endif - -// C++0x features in 4.5.1 and later -// -#if (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ < 40501) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -// scoped enums have a serious bug in 4.4.0, so define BOOST_NO_CXX11_SCOPED_ENUMS before 4.5.1 -// See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38064 -# define BOOST_NO_CXX11_SCOPED_ENUMS -#endif - -// C++0x features in 4.6.n and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -#endif - -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_TEMPLATE_ALIASES -#endif -// C++0x features not supported at all yet -// -#define BOOST_NO_CXX11_DECLTYPE_N3276 - -#ifndef BOOST_COMPILER -# define BOOST_COMPILER "GNU C++ version " __VERSION__ -#endif - -// ConceptGCC compiler: -// http://www.generic-programming.org/software/ConceptGCC/ -#ifdef __GXX_CONCEPTS__ -# define BOOST_HAS_CONCEPTS -# define BOOST_COMPILER "ConceptGCC version " __VERSION__ -#endif - -// versions check: -// we don't know gcc prior to version 2.90: -#if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90) -# error "Compiler not configured - please reconfigure" -#endif -// -// last known and checked version is 4.6 (Pre-release): -#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 6)) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# else -// we don't emit warnings here anymore since there are no defect macros defined for -// gcc post 3.4, so any failures are gcc regressions... -//# warning "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - - diff --git a/src/boost/boost/config/compiler/gcc_xml.hpp b/src/boost/boost/config/compiler/gcc_xml.hpp deleted file mode 100644 index eaed4b5..0000000 --- a/src/boost/boost/config/compiler/gcc_xml.hpp +++ /dev/null @@ -1,60 +0,0 @@ -// (C) Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// GCC-XML C++ compiler setup: - -# if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3)) -# define BOOST_NO_IS_ABSTRACT -# endif - -// -// Threading support: Turn this on unconditionally here (except for -// those platforms where we can know for sure). It will get turned off again -// later if no threading API is detected. -// -#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__) -# define BOOST_HAS_THREADS -#endif - -// -// gcc has "long long" -// -#define BOOST_HAS_LONG_LONG - -// C++0x features: -// -# define BOOST_NO_CXX11_CONSTEXPR -# define BOOST_NO_CXX11_NULLPTR -# define BOOST_NO_CXX11_TEMPLATE_ALIASES -# define BOOST_NO_CXX11_DECLTYPE -# define BOOST_NO_CXX11_DECLTYPE_N3276 -# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -# define BOOST_NO_CXX11_RVALUE_REFERENCES -# define BOOST_NO_CXX11_STATIC_ASSERT -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -# define BOOST_NO_CXX11_VARIADIC_MACROS -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_CHAR32_T -# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -# define BOOST_NO_CXX11_DELETED_FUNCTIONS -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_SCOPED_ENUMS -# define BOOST_NO_SFINAE_EXPR -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_CXX11_LAMBDAS -# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -# define BOOST_NO_CXX11_RANGE_BASED_FOR -# define BOOST_NO_CXX11_RAW_LITERALS -# define BOOST_NO_CXX11_UNICODE_LITERALS -# define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__ - - diff --git a/src/boost/boost/config/compiler/greenhills.hpp b/src/boost/boost/config/compiler/greenhills.hpp deleted file mode 100644 index 038b6b2..0000000 --- a/src/boost/boost/config/compiler/greenhills.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Greenhills C++ compiler setup: - -#define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs) - -#include "boost/config/compiler/common_edg.hpp" - -// -// versions check: -// we don't support Greenhills prior to version 0: -#if __ghs < 0 -# error "Compiler not supported or configured - please reconfigure" -#endif -// -// last known and checked version is 0: -#if (__ghs > 0) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - - diff --git a/src/boost/boost/config/compiler/hp_acc.hpp b/src/boost/boost/config/compiler/hp_acc.hpp deleted file mode 100644 index 4f5f81b..0000000 --- a/src/boost/boost/config/compiler/hp_acc.hpp +++ /dev/null @@ -1,140 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001 - 2003. -// (C) Copyright Aleksey Gurtovoy 2002. -// (C) Copyright David Abrahams 2002 - 2003. -// (C) Copyright Toon Knapen 2003. -// (C) Copyright Boris Gubenko 2006 - 2007. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// HP aCC C++ compiler setup: - -#if defined(__EDG__) -#include "boost/config/compiler/common_edg.hpp" -#endif - -#if (__HP_aCC <= 33100) -# define BOOST_NO_INTEGRAL_INT64_T -# define BOOST_NO_OPERATORS_IN_NAMESPACE -# if !defined(_NAMESPACE_STD) -# define BOOST_NO_STD_LOCALE -# define BOOST_NO_STRINGSTREAM -# endif -#endif - -#if (__HP_aCC <= 33300) -// member templates are sufficiently broken that we disable them for now -# define BOOST_NO_MEMBER_TEMPLATES -# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS -# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE -#endif - -#if (__HP_aCC <= 38000) -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#endif - -#if (__HP_aCC > 50000) && (__HP_aCC < 60000) -# define BOOST_NO_UNREACHABLE_RETURN_DETECTION -# define BOOST_NO_TEMPLATE_TEMPLATES -# define BOOST_NO_SWPRINTF -# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS -# define BOOST_NO_IS_ABSTRACT -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -#endif - -// optional features rather than defects: -#if (__HP_aCC >= 33900) -# define BOOST_HAS_LONG_LONG -# define BOOST_HAS_PARTIAL_STD_ALLOCATOR -#endif - -#if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 ) -# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD -#endif - -// This macro should not be defined when compiling in strict ansi -// mode, but, currently, we don't have the ability to determine -// what standard mode we are compiling with. Some future version -// of aCC6 compiler will provide predefined macros reflecting the -// compilation options, including the standard mode. -#if (__HP_aCC >= 60000) || ((__HP_aCC > 38000) && defined(__hpxstd98)) -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#endif - -#define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC) - -// -// versions check: -// we don't support HP aCC prior to version 33000: -#if __HP_aCC < 33000 -# error "Compiler not supported or configured - please reconfigure" -#endif - -// -// Extended checks for supporting aCC on PA-RISC -#if __HP_aCC > 30000 && __HP_aCC < 50000 -# if __HP_aCC < 38000 - // versions prior to version A.03.80 not supported -# error "Compiler version not supported - version A.03.80 or higher is required" -# elif !defined(__hpxstd98) - // must compile using the option +hpxstd98 with version A.03.80 and above -# error "Compiler option '+hpxstd98' is required for proper support" -# endif //PA-RISC -#endif - -// -// C++0x features -// -// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG -// -#if !defined(__EDG__) - -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES - -/* - See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and - https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443436 -*/ - -#if (__HP_aCC < 62500) || !defined(HP_CXX0x_SOURCE) - #define BOOST_NO_CXX11_VARIADIC_MACROS -#endif - -#endif - -// -// last known and checked version for HP-UX/ia64 is 61300 -// last known and checked version for PA-RISC is 38000 -#if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98))) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif diff --git a/src/boost/boost/config/compiler/intel.hpp b/src/boost/boost/config/compiler/intel.hpp deleted file mode 100644 index 8c746c1..0000000 --- a/src/boost/boost/config/compiler/intel.hpp +++ /dev/null @@ -1,272 +0,0 @@ -// (C) Copyright John Maddock 2001-8. -// (C) Copyright Peter Dimov 2001. -// (C) Copyright Jens Maurer 2001. -// (C) Copyright David Abrahams 2002 - 2003. -// (C) Copyright Aleksey Gurtovoy 2002 - 2003. -// (C) Copyright Guillaume Melquiond 2002 - 2003. -// (C) Copyright Beman Dawes 2003. -// (C) Copyright Martin Wille 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Intel compiler setup: - -#include "boost/config/compiler/common_edg.hpp" - -#if defined(__INTEL_COMPILER) -# define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER -#elif defined(__ICL) -# define BOOST_INTEL_CXX_VERSION __ICL -#elif defined(__ICC) -# define BOOST_INTEL_CXX_VERSION __ICC -#elif defined(__ECC) -# define BOOST_INTEL_CXX_VERSION __ECC -#endif - -// Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x' -#if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) -# define BOOST_INTEL_STDCXX0X -#endif -#if defined(_MSC_VER) && (_MSC_VER >= 1600) -# define BOOST_INTEL_STDCXX0X -#endif - -#ifdef BOOST_INTEL_STDCXX0X -#define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION) -#else -#define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION) -#endif -#define BOOST_INTEL BOOST_INTEL_CXX_VERSION - -#if defined(_WIN32) || defined(_WIN64) -# define BOOST_INTEL_WIN BOOST_INTEL -#else -# define BOOST_INTEL_LINUX BOOST_INTEL -#endif - -#if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER) -# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS -# define BOOST_NO_TEMPLATE_TEMPLATES -#endif - -#if (BOOST_INTEL_CXX_VERSION <= 600) - -# if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov) - -// Boost libraries assume strong standard conformance unless otherwise -// indicated by a config macro. As configured by Intel, the EDG front-end -// requires certain compiler options be set to achieve that strong conformance. -// Particularly /Qoption,c,--arg_dep_lookup (reported by Kirk Klobe & Thomas Witt) -// and /Zc:wchar_t,forScope. See boost-root/tools/build/intel-win32-tools.jam for -// details as they apply to particular versions of the compiler. When the -// compiler does not predefine a macro indicating if an option has been set, -// this config file simply assumes the option has been set. -// Thus BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP will not be defined, even if -// the compiler option is not enabled. - -# define BOOST_NO_SWPRINTF -# endif - -// Void returns, 64 bit integrals don't work when emulating VC 6 (Peter Dimov) - -# if defined(_MSC_VER) && (_MSC_VER <= 1200) -# define BOOST_NO_VOID_RETURNS -# define BOOST_NO_INTEGRAL_INT64_T -# endif - -#endif - -#if (BOOST_INTEL_CXX_VERSION <= 710) && defined(_WIN32) -# define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS -#endif - -// See http://aspn.activestate.com/ASPN/Mail/Message/boost/1614864 -#if BOOST_INTEL_CXX_VERSION < 600 -# define BOOST_NO_INTRINSIC_WCHAR_T -#else -// We should test the macro _WCHAR_T_DEFINED to check if the compiler -// supports wchar_t natively. *BUT* there is a problem here: the standard -// headers define this macro if they typedef wchar_t. Anyway, we're lucky -// because they define it without a value, while Intel C++ defines it -// to 1. So we can check its value to see if the macro was defined natively -// or not. -// Under UNIX, the situation is exactly the same, but the macro _WCHAR_T -// is used instead. -# if ((_WCHAR_T_DEFINED + 0) == 0) && ((_WCHAR_T + 0) == 0) -# define BOOST_NO_INTRINSIC_WCHAR_T -# endif -#endif - -#if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) -// -// Figure out when Intel is emulating this gcc bug -// (All Intel versions prior to 9.0.26, and versions -// later than that if they are set up to emulate gcc 3.2 -// or earlier): -// -# if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL < 900) || (__INTEL_COMPILER_BUILD_DATE < 20050912) -# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -# endif -#endif -#if (defined(__GNUC__) && (__GNUC__ < 4)) || defined(_WIN32) || (BOOST_INTEL_CXX_VERSION <= 1200) -// GCC or VC emulation: -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#endif -// -// Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T -// set correctly, if we don't do this now, we will get errors later -// in type_traits code among other things, getting this correct -// for the Intel compiler is actually remarkably fragile and tricky: -// -#ifdef __cplusplus -#if defined(BOOST_NO_INTRINSIC_WCHAR_T) -#include -template< typename T > struct assert_no_intrinsic_wchar_t; -template<> struct assert_no_intrinsic_wchar_t { typedef void type; }; -// if you see an error here then you need to unset BOOST_NO_INTRINSIC_WCHAR_T -// where it is defined above: -typedef assert_no_intrinsic_wchar_t::type assert_no_intrinsic_wchar_t_; -#else -template< typename T > struct assert_intrinsic_wchar_t; -template<> struct assert_intrinsic_wchar_t {}; -// if you see an error here then define BOOST_NO_INTRINSIC_WCHAR_T on the command line: -template<> struct assert_intrinsic_wchar_t {}; -#endif -#endif - -#if defined(_MSC_VER) && (_MSC_VER+0 >= 1000) -# if _MSC_VER >= 1200 -# define BOOST_HAS_MS_INT64 -# endif -# define BOOST_NO_SWPRINTF -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#elif defined(_WIN32) -# define BOOST_DISABLE_WIN32 -#endif - -// I checked version 6.0 build 020312Z, it implements the NRVO. -// Correct this as you find out which version of the compiler -// implemented the NRVO first. (Daniel Frey) -#if (BOOST_INTEL_CXX_VERSION >= 600) -# define BOOST_HAS_NRVO -#endif - -// -// versions check: -// we don't support Intel prior to version 5.0: -#if BOOST_INTEL_CXX_VERSION < 500 -# error "Compiler not supported or configured - please reconfigure" -#endif - -// Intel on MacOS requires -#if defined(__APPLE__) && defined(__INTEL_COMPILER) -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#endif - -// Intel on Altix Itanium -#if defined(__itanium__) && defined(__INTEL_COMPILER) -# define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#endif - -// -// An attempt to value-initialize a pointer-to-member may trigger an -// internal error on Intel <= 11.1 (last checked version), as was -// reported by John Maddock, Intel support issue 589832, May 2010. -// Moreover, according to test results from Huang-Vista-x86_32_intel, -// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some -// cases when it should be value-initialized. -// (Niels Dekker, LKEB, May 2010) -// Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression). -#if defined(__INTEL_COMPILER) -# if (__INTEL_COMPILER <= 1110) || (__INTEL_COMPILER == 9999) -# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -# endif -#endif - -// -// Dynamic shared object (DSO) and dynamic-link library (DLL) support -// -#if defined(__GNUC__) && (__GNUC__ >= 4) -# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default"))) -# define BOOST_SYMBOL_IMPORT -# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) -#endif -// -// C++0x features -// - ICC added static_assert in 11.0 (first version with C++0x support) -// -#if defined(BOOST_INTEL_STDCXX0X) -# undef BOOST_NO_CXX11_STATIC_ASSERT -// -// These pass our test cases, but aren't officially supported according to: -// http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/ -// -//# undef BOOST_NO_CXX11_LAMBDAS -//# undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -//# undef BOOST_NO_CXX11_DECLTYPE -//# undef BOOST_NO_CXX11_AUTO_DECLARATIONS -//# undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#endif - -#if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION >= 1200) -//# undef BOOST_NO_CXX11_RVALUE_REFERENCES // Enabling this breaks Filesystem and Exception libraries -//# undef BOOST_NO_CXX11_SCOPED_ENUMS // doesn't really work!! -# undef BOOST_NO_CXX11_DELETED_FUNCTIONS -# undef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -# undef BOOST_NO_CXX11_LAMBDAS -# undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -# undef BOOST_NO_CXX11_DECLTYPE -# undef BOOST_NO_CXX11_AUTO_DECLARATIONS -# undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#endif - -// icl Version 12.1.0.233 Build 20110811 and possibly some other builds -// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed. -#if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION > 1200) -# undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -# undef BOOST_NO_CXX11_NULLPTR -# undef BOOST_NO_CXX11_RVALUE_REFERENCES -# undef BOOST_NO_SFINAE_EXPR -# undef BOOST_NO_CXX11_TEMPLATE_ALIASES -# undef BOOST_NO_CXX11_VARIADIC_TEMPLATES - -// http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/ -// continues to list scoped enum support as "Partial" -//# undef BOOST_NO_CXX11_SCOPED_ENUMS -#endif - -#if defined(_MSC_VER) && (_MSC_VER <= 1700) -// -// Although the Intel compiler is capable of supporting these, it appears not to in MSVC compatibility mode: -// -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -# define BOOST_NO_CXX11_DELETED_FUNCTIONS -# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -# define BOOST_NO_CXX11_TEMPLATE_ALIASES -#endif - -#if (BOOST_INTEL_CXX_VERSION < 1200) -// -// fenv.h appears not to work with Intel prior to 12.0: -// -# define BOOST_NO_FENV_H -#endif - -// -// last known and checked version: -#if (BOOST_INTEL_CXX_VERSION > 1200) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# elif defined(_MSC_VER) -// -// We don't emit this warning any more, since we have so few -// defect macros set anyway (just the one). -// -//# pragma message("Unknown compiler version - please run the configure tests and report the results") -# endif -#endif - diff --git a/src/boost/boost/config/compiler/kai.hpp b/src/boost/boost/config/compiler/kai.hpp deleted file mode 100644 index 2337e6a..0000000 --- a/src/boost/boost/config/compiler/kai.hpp +++ /dev/null @@ -1,33 +0,0 @@ -// (C) Copyright John Maddock 2001. -// (C) Copyright David Abrahams 2002. -// (C) Copyright Aleksey Gurtovoy 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Kai C++ compiler setup: - -#include "boost/config/compiler/common_edg.hpp" - -# if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG) - // at least on Sun, the contents of is not in namespace std -# define BOOST_NO_STDC_NAMESPACE -# endif - -// see also common_edg.hpp which needs a special check for __KCC -# if !defined(_EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -# endif - -// -// last known and checked version is 4001: -#if (__KCC_VERSION > 4001) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - - - diff --git a/src/boost/boost/config/compiler/metrowerks.hpp b/src/boost/boost/config/compiler/metrowerks.hpp deleted file mode 100644 index 184cb71..0000000 --- a/src/boost/boost/config/compiler/metrowerks.hpp +++ /dev/null @@ -1,144 +0,0 @@ -// (C) Copyright John Maddock 2001. -// (C) Copyright Darin Adler 2001. -// (C) Copyright Peter Dimov 2001. -// (C) Copyright David Abrahams 2001 - 2002. -// (C) Copyright Beman Dawes 2001 - 2003. -// (C) Copyright Stefan Slapeta 2004. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Metrowerks C++ compiler setup: - -// locale support is disabled when linking with the dynamic runtime -# ifdef _MSL_NO_LOCALE -# define BOOST_NO_STD_LOCALE -# endif - -# if __MWERKS__ <= 0x2301 // 5.3 -# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING -# define BOOST_NO_POINTER_TO_MEMBER_CONST -# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS -# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD -# endif - -# if __MWERKS__ <= 0x2401 // 6.2 -//# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING -# endif - -# if(__MWERKS__ <= 0x2407) // 7.x -# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS -# define BOOST_NO_UNREACHABLE_RETURN_DETECTION -# endif - -# if(__MWERKS__ <= 0x3003) // 8.x -# define BOOST_NO_SFINAE -# endif - -// the "|| !defined(BOOST_STRICT_CONFIG)" part should apply to the last -// tested version *only*: -# if(__MWERKS__ <= 0x3207) || !defined(BOOST_STRICT_CONFIG) // 9.6 -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_IS_ABSTRACT -# endif - -#if !__option(wchar_type) -# define BOOST_NO_INTRINSIC_WCHAR_T -#endif - -#if !__option(exceptions) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif - -#if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh) -# if __MWERKS__ == 0x3000 -# define BOOST_COMPILER_VERSION 8.0 -# elif __MWERKS__ == 0x3001 -# define BOOST_COMPILER_VERSION 8.1 -# elif __MWERKS__ == 0x3002 -# define BOOST_COMPILER_VERSION 8.2 -# elif __MWERKS__ == 0x3003 -# define BOOST_COMPILER_VERSION 8.3 -# elif __MWERKS__ == 0x3200 -# define BOOST_COMPILER_VERSION 9.0 -# elif __MWERKS__ == 0x3201 -# define BOOST_COMPILER_VERSION 9.1 -# elif __MWERKS__ == 0x3202 -# define BOOST_COMPILER_VERSION 9.2 -# elif __MWERKS__ == 0x3204 -# define BOOST_COMPILER_VERSION 9.3 -# elif __MWERKS__ == 0x3205 -# define BOOST_COMPILER_VERSION 9.4 -# elif __MWERKS__ == 0x3206 -# define BOOST_COMPILER_VERSION 9.5 -# elif __MWERKS__ == 0x3207 -# define BOOST_COMPILER_VERSION 9.6 -# else -# define BOOST_COMPILER_VERSION __MWERKS__ -# endif -#else -# define BOOST_COMPILER_VERSION __MWERKS__ -#endif - -// -// C++0x features -// -// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG -// -#if __MWERKS__ > 0x3206 && __option(rvalue_refs) -# define BOOST_HAS_RVALUE_REFS -#else -# define BOOST_NO_CXX11_RVALUE_REFERENCES -#endif -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_VARIADIC_MACROS -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) - -// -// versions check: -// we don't support Metrowerks prior to version 5.3: -#if __MWERKS__ < 0x2301 -# error "Compiler not supported or configured - please reconfigure" -#endif -// -// last known and checked version: -#if (__MWERKS__ > 0x3205) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - - - - - - - diff --git a/src/boost/boost/config/compiler/mpw.hpp b/src/boost/boost/config/compiler/mpw.hpp deleted file mode 100644 index 14adee0..0000000 --- a/src/boost/boost/config/compiler/mpw.hpp +++ /dev/null @@ -1,86 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2002. -// (C) Copyright Aleksey Gurtovoy 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// MPW C++ compilers setup: - -# if defined(__SC__) -# define BOOST_COMPILER "MPW SCpp version " BOOST_STRINGIZE(__SC__) -# elif defined(__MRC__) -# define BOOST_COMPILER "MPW MrCpp version " BOOST_STRINGIZE(__MRC__) -# else -# error "Using MPW compiler configuration by mistake. Please update." -# endif - -// -// MPW 8.90: -// -#if (MPW_CPLUS <= 0x890) || !defined(BOOST_STRICT_CONFIG) -# define BOOST_NO_CV_SPECIALIZATIONS -# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS -# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION -# define BOOST_NO_INTRINSIC_WCHAR_T -# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# define BOOST_NO_USING_TEMPLATE - -# define BOOST_NO_CWCHAR -# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS - -# define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */ - -#endif - -// -// C++0x features -// -// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG -// -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_VARIADIC_MACROS -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -// -// versions check: -// we don't support MPW prior to version 8.9: -#if MPW_CPLUS < 0x890 -# error "Compiler not supported or configured - please reconfigure" -#endif -// -// last known and checked version is 0x890: -#if (MPW_CPLUS > 0x890) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - - diff --git a/src/boost/boost/config/compiler/nvcc.hpp b/src/boost/boost/config/compiler/nvcc.hpp deleted file mode 100644 index 03203fb..0000000 --- a/src/boost/boost/config/compiler/nvcc.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright Eric Jourdanneau, Joel Falcou 2010 -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// NVIDIA CUDA C++ compiler setup - -#ifndef BOOST_COMPILER -# define BOOST_COMPILER "NVIDIA CUDA C++ Compiler" -#endif - -// NVIDIA Specific support -// BOOST_GPU_ENABLED : Flag a function or a method as being enabled on the host and device -#define BOOST_GPU_ENABLED __host__ __device__ - -// Boost support macro for NVCC -// NVCC Basically behaves like some flavor of MSVC6 + some specific quirks -#ifdef __GNUC__ - -#include - -#elif defined(_MSC_VER) - -#include - -#endif diff --git a/src/boost/boost/config/compiler/pathscale.hpp b/src/boost/boost/config/compiler/pathscale.hpp deleted file mode 100644 index 3041126..0000000 --- a/src/boost/boost/config/compiler/pathscale.hpp +++ /dev/null @@ -1,80 +0,0 @@ -// (C) Copyright Bryce Lelbach 2011 - -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// PathScale EKOPath C++ Compiler - -#ifndef BOOST_COMPILER -# define BOOST_COMPILER "PathScale EKOPath C++ Compiler version " __PATHSCALE__ -#endif - -#if __PATHCC__ >= 4 -# define BOOST_MSVC6_MEMBER_TEMPLATES -# define BOOST_HAS_UNISTD_H -# define BOOST_HAS_STDINT_H -# define BOOST_HAS_SIGACTION -# define BOOST_HAS_SCHED_YIELD -# define BOOST_HAS_THREADS -# define BOOST_HAS_PTHREADS -# define BOOST_HAS_PTHREAD_YIELD -# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# define BOOST_HAS_PARTIAL_STD_ALLOCATOR -# define BOOST_HAS_NRVO -# define BOOST_HAS_NL_TYPES_H -# define BOOST_HAS_NANOSLEEP -# define BOOST_HAS_LONG_LONG -# define BOOST_HAS_LOG1P -# define BOOST_HAS_GETTIMEOFDAY -# define BOOST_HAS_EXPM1 -# define BOOST_HAS_DIRENT_H -# define BOOST_HAS_CLOCK_GETTIME -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -# define BOOST_NO_CXX11_UNICODE_LITERALS -# define BOOST_NO_CXX11_TEMPLATE_ALIASES -# define BOOST_NO_CXX11_STATIC_ASSERT -# define BOOST_NO_SFINAE_EXPR -# define BOOST_NO_CXX11_SCOPED_ENUMS -# define BOOST_NO_CXX11_RVALUE_REFERENCES -# define BOOST_NO_CXX11_RANGE_BASED_FOR -# define BOOST_NO_CXX11_RAW_LITERALS -# define BOOST_NO_CXX11_NULLPTR -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_NOEXCEPT -# define BOOST_NO_CXX11_LAMBDAS -# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -# define BOOST_NO_MS_INT64_NUMERIC_LIMITS -# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_CXX11_DELETED_FUNCTIONS -# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -# define BOOST_NO_CXX11_DECLTYPE -# define BOOST_NO_CXX11_DECLTYPE_N3276 -# define BOOST_NO_CXX11_CONSTEXPR -# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -# define BOOST_NO_CXX11_CHAR32_T -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CHRONO -#endif - diff --git a/src/boost/boost/config/compiler/pgi.hpp b/src/boost/boost/config/compiler/pgi.hpp deleted file mode 100644 index fa32fef..0000000 --- a/src/boost/boost/config/compiler/pgi.hpp +++ /dev/null @@ -1,118 +0,0 @@ -// (C) Copyright Noel Belcourt 2007. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// PGI C++ compiler setup: - -#define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__ -#define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) - -// -// Threading support: -// Turn this on unconditionally here, it will get turned off again later -// if no threading API is detected. -// - -#if __PGIC__ >= 11 - -// options requested by configure --enable-test -#define BOOST_HAS_PTHREADS -#define BOOST_HAS_THREADS -#define BOOST_HAS_PTHREAD_YIELD -#define BOOST_HAS_NRVO -#define BOOST_HAS_LONG_LONG - -// options --enable-test wants undefined -#undef BOOST_NO_STDC_NAMESPACE -#undef BOOST_NO_EXCEPTION_STD_NAMESPACE -#undef BOOST_DEDUCED_TYPENAME - -#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_AUTO_DECLARATIONS - -#elif __PGIC__ >= 10 - -// options requested by configure --enable-test -#define BOOST_HAS_THREADS -#define BOOST_HAS_NRVO -#define BOOST_HAS_LONG_LONG - -// options --enable-test wants undefined -#undef BOOST_NO_STDC_NAMESPACE -#undef BOOST_NO_EXCEPTION_STD_NAMESPACE -#undef BOOST_DEDUCED_TYPENAME - -#elif __PGIC__ >= 7 - -#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_NO_SWPRINTF -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_AUTO_DECLARATIONS - -#else - -# error "Pgi compiler not configured - please reconfigure" - -#endif -// -// C++0x features -// -// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG -// -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_NUMERIC_LIMITS -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_SWPRINTF -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_VARIADIC_MACROS -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -#define BOOST_NO_CXX11_HDR_UNORDERED_SET -#define BOOST_NO_CXX11_HDR_UNORDERED_MAP -#define BOOST_NO_CXX11_HDR_TYPEINDEX -#define BOOST_NO_CXX11_HDR_TYPE_TRAITS -#define BOOST_NO_CXX11_HDR_TUPLE -#define BOOST_NO_CXX11_HDR_THREAD -#define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -#define BOOST_NO_CXX11_HDR_REGEX -#define BOOST_NO_CXX11_HDR_RATIO -#define BOOST_NO_CXX11_HDR_RANDOM -#define BOOST_NO_CXX11_HDR_MUTEX -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_HDR_FUTURE -#define BOOST_NO_CXX11_HDR_FORWARD_LIST -#define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -#define BOOST_NO_CXX11_HDR_CODECVT -#define BOOST_NO_CXX11_HDR_CHRONO -#define BOOST_NO_CXX11_HDR_ARRAY - -// -// version check: -// probably nothing to do here? - diff --git a/src/boost/boost/config/compiler/sgi_mipspro.hpp b/src/boost/boost/config/compiler/sgi_mipspro.hpp deleted file mode 100644 index 9068831..0000000 --- a/src/boost/boost/config/compiler/sgi_mipspro.hpp +++ /dev/null @@ -1,29 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// SGI C++ compiler setup: - -#define BOOST_COMPILER "SGI Irix compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) - -#include "boost/config/compiler/common_edg.hpp" - -// -// Threading support: -// Turn this on unconditionally here, it will get turned off again later -// if no threading API is detected. -// -#define BOOST_HAS_THREADS -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP - -#undef BOOST_NO_SWPRINTF -#undef BOOST_DEDUCED_TYPENAME - -// -// version check: -// probably nothing to do here? - - diff --git a/src/boost/boost/config/compiler/sunpro_cc.hpp b/src/boost/boost/config/compiler/sunpro_cc.hpp deleted file mode 100644 index 65beb50..0000000 --- a/src/boost/boost/config/compiler/sunpro_cc.hpp +++ /dev/null @@ -1,149 +0,0 @@ -// (C) Copyright John Maddock 2001. -// (C) Copyright Jens Maurer 2001 - 2003. -// (C) Copyright Peter Dimov 2002. -// (C) Copyright Aleksey Gurtovoy 2002 - 2003. -// (C) Copyright David Abrahams 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Sun C++ compiler setup: - -# if __SUNPRO_CC <= 0x500 -# define BOOST_NO_MEMBER_TEMPLATES -# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING -# endif - -# if (__SUNPRO_CC <= 0x520) - // - // Sunpro 5.2 and earler: - // - // although sunpro 5.2 supports the syntax for - // inline initialization it often gets the value - // wrong, especially where the value is computed - // from other constants (J Maddock 6th May 2001) -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION - - // Although sunpro 5.2 supports the syntax for - // partial specialization, it often seems to - // bind to the wrong specialization. Better - // to disable it until suppport becomes more stable - // (J Maddock 6th May 2001). -# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# endif - -# if (__SUNPRO_CC <= 0x530) - // Requesting debug info (-g) with Boost.Python results - // in an internal compiler error for "static const" - // initialized in-class. - // >> Assertion: (../links/dbg_cstabs.cc, line 611) - // while processing ../test.cpp at line 0. - // (Jens Maurer according to Gottfried Ganssauge 04 Mar 2002) -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION - - // SunPro 5.3 has better support for partial specialization, - // but breaks when compiling std::less > - // (Jens Maurer 4 Nov 2001). - - // std::less specialization fixed as reported by George - // Heintzelman; partial specialization re-enabled - // (Peter Dimov 17 Jan 2002) - -//# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - - // integral constant expressions with 64 bit numbers fail -# define BOOST_NO_INTEGRAL_INT64_T -# endif - -# if (__SUNPRO_CC < 0x570) -# define BOOST_NO_TEMPLATE_TEMPLATES - // see http://lists.boost.org/MailArchives/boost/msg47184.php - // and http://lists.boost.org/MailArchives/boost/msg47220.php -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION -# define BOOST_NO_SFINAE -# define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS -# endif -# if (__SUNPRO_CC <= 0x580) -# define BOOST_NO_IS_ABSTRACT -# endif - -# if (__SUNPRO_CC <= 0x5100) - // Sun 5.10 may not correctly value-initialize objects of - // some user defined types, as was reported in April 2010 - // (CR 6947016), and confirmed by Steve Clamage. - // (Niels Dekker, LKEB, May 2010). -# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -# endif - -// -// Dynamic shared object (DSO) and dynamic-link library (DLL) support -// -#if __SUNPRO_CC > 0x500 -# define BOOST_SYMBOL_EXPORT __global -# define BOOST_SYMBOL_IMPORT __global -# define BOOST_SYMBOL_VISIBLE __global -#endif - - - -// -// Issues that effect all known versions: -// -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_NO_ADL_BARRIER - -// -// C++0x features -// -# define BOOST_HAS_LONG_LONG - -#define BOOST_NO_CXX11_AUTO_DECLARATIONS -#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_EXTERN_TEMPLATE -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_RVALUE_REFERENCES -#define BOOST_NO_CXX11_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_STATIC_ASSERT -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_CXX11_VARIADIC_MACROS -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX - -// -// Version -// - -#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC) - -// -// versions check: -// we don't support sunpro prior to version 4: -#if __SUNPRO_CC < 0x400 -#error "Compiler not supported or configured - please reconfigure" -#endif -// -// last known and checked version is 0x590: -#if (__SUNPRO_CC > 0x590) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif diff --git a/src/boost/boost/config/compiler/vacpp.hpp b/src/boost/boost/config/compiler/vacpp.hpp deleted file mode 100644 index 2410d5a..0000000 --- a/src/boost/boost/config/compiler/vacpp.hpp +++ /dev/null @@ -1,130 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Toon Knapen 2001 - 2003. -// (C) Copyright Lie-Quan Lee 2001. -// (C) Copyright Markus Schoepflin 2002 - 2003. -// (C) Copyright Beman Dawes 2002 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Visual Age (IBM) C++ compiler setup: - -#if __IBMCPP__ <= 501 -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS -#endif - -#if (__IBMCPP__ <= 502) -// Actually the compiler supports inclass member initialization but it -// requires a definition for the class member and it doesn't recognize -// it as an integral constant expression when used as a template argument. -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION -# define BOOST_NO_INTEGRAL_INT64_T -# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD -#endif - -#if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG) -# define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS -#endif - -#if (__IBMCPP__ <= 1110) -// XL C++ V11.1 and earlier versions may not always value-initialize -// a temporary object T(), when T is a non-POD aggregate class type. -// Michael Wong (IBM Canada Ltd) has confirmed this issue and gave it -// high priority. -- Niels Dekker (LKEB), May 2010. -# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -#endif - -// -// On AIX thread support seems to be indicated by _THREAD_SAFE: -// -#ifdef _THREAD_SAFE -# define BOOST_HAS_THREADS -#endif - -#define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__) - -// -// versions check: -// we don't support Visual age prior to version 5: -#if __IBMCPP__ < 500 -#error "Compiler not supported or configured - please reconfigure" -#endif -// -// last known and checked version is 1110: -#if (__IBMCPP__ > 1110) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# endif -#endif - -// Some versions of the compiler have issues with default arguments on partial specializations -#if __IBMCPP__ <= 1010 -#define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS -#endif - -// -// C++0x features -// -// See boost\config\suffix.hpp for BOOST_NO_LONG_LONG -// -#if ! __IBMCPP_AUTO_TYPEDEDUCTION -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#endif -#if ! __IBMCPP_UTF_LITERAL__ -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_CHAR32_T -#endif -#if ! __IBMCPP_CONSTEXPR -# define BOOST_NO_CXX11_CONSTEXPR -#endif -#if ! __IBMCPP_DECLTYPE -# define BOOST_NO_CXX11_DECLTYPE -#else -# define BOOST_HAS_DECLTYPE -#endif -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#if ! __IBMCPP_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#endif -#if ! __IBMCPP_EXTERN_TEMPLATE -# define BOOST_NO_CXX11_EXTERN_TEMPLATE -#endif -#if ! __IBMCPP_VARIADIC_TEMPLATES -// not enabled separately at this time -# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#endif -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_LAMBDAS -#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_CXX11_RANGE_BASED_FOR -#define BOOST_NO_CXX11_RAW_LITERALS -#if ! __IBMCPP_RVALUE_REFERENCES -# define BOOST_NO_CXX11_RVALUE_REFERENCES -#endif -#if ! __IBMCPP_SCOPED_ENUM -# define BOOST_NO_CXX11_SCOPED_ENUMS -#endif -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -#if ! __IBMCPP_STATIC_ASSERT -# define BOOST_NO_CXX11_STATIC_ASSERT -#endif -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#if ! __IBMCPP_VARIADIC_TEMPLATES -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#endif -#if ! __C99_MACRO_WITH_VA_ARGS -# define BOOST_NO_CXX11_VARIADIC_MACROS -#endif - - - diff --git a/src/boost/boost/config/compiler/visualc.hpp b/src/boost/boost/config/compiler/visualc.hpp deleted file mode 100644 index aa4584d..0000000 --- a/src/boost/boost/config/compiler/visualc.hpp +++ /dev/null @@ -1,320 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Darin Adler 2001 - 2002. -// (C) Copyright Peter Dimov 2001. -// (C) Copyright Aleksey Gurtovoy 2002. -// (C) Copyright David Abrahams 2002 - 2003. -// (C) Copyright Beman Dawes 2002 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. -// -// Microsoft Visual C++ compiler setup: -// -// We need to be careful with the checks in this file, as contrary -// to popular belief there are versions with _MSC_VER with the final -// digit non-zero (mainly the MIPS cross compiler). -// -// So we either test _MSC_VER >= XXXX or else _MSC_VER < XXXX. -// No other comparisons (==, >, or <=) are safe. -// - -#define BOOST_MSVC _MSC_VER - -// -// Helper macro BOOST_MSVC_FULL_VER for use in Boost code: -// -#if _MSC_FULL_VER > 100000000 -# define BOOST_MSVC_FULL_VER _MSC_FULL_VER -#else -# define BOOST_MSVC_FULL_VER (_MSC_FULL_VER * 10) -#endif - -// Attempt to suppress VC6 warnings about the length of decorated names (obsolete): -#pragma warning( disable : 4503 ) // warning: decorated name length exceeded - -// -// versions check: -// we don't support Visual C++ prior to version 6: -#if _MSC_VER < 1200 -# error "Compiler not supported or configured - please reconfigure" -#endif - -#if _MSC_VER < 1300 // 1200 == VC++ 6.0, 1200-1202 == eVC++4 -# pragma warning( disable : 4786 ) // ident trunc to '255' chars in debug info -# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS -# define BOOST_NO_VOID_RETURNS -# define BOOST_NO_EXCEPTION_STD_NAMESPACE - -# if _MSC_VER == 1202 -# define BOOST_NO_STD_TYPEINFO -# endif - -#endif - -/// Visual Studio has no fenv.h -#define BOOST_NO_FENV_H - -#if (_MSC_VER < 1310) // 130X == VC++ 7.0 - -# if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za -# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS -# endif - -# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION -# define BOOST_NO_PRIVATE_IN_AGGREGATE -# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP -# define BOOST_NO_INTEGRAL_INT64_T -# define BOOST_NO_DEDUCED_TYPENAME -# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE - -// VC++ 6/7 has member templates but they have numerous problems including -// cases of silent failure, so for safety we define: -# define BOOST_NO_MEMBER_TEMPLATES -// For VC++ experts wishing to attempt workarounds, we define: -# define BOOST_MSVC6_MEMBER_TEMPLATES - -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -# define BOOST_NO_CV_VOID_SPECIALIZATIONS -# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING -# define BOOST_NO_USING_TEMPLATE -# define BOOST_NO_SWPRINTF -# define BOOST_NO_TEMPLATE_TEMPLATES -# define BOOST_NO_SFINAE -# define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS -# define BOOST_NO_IS_ABSTRACT -# define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS -// TODO: what version is meant here? Have there really been any fixes in cl 12.01 (as e.g. shipped with eVC4)? -# if (_MSC_VER >= 1300) -# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS -# endif - -#endif - -#if _MSC_VER < 1400 -// although a conforming signature for swprint exists in VC7.1 -// it appears not to actually work: -# define BOOST_NO_SWPRINTF -// Our extern template tests also fail for this compiler: -# define BOOST_NO_CXX11_EXTERN_TEMPLATE -// Variadic macros do not exist for VC7.1 and lower -# define BOOST_NO_CXX11_VARIADIC_MACROS -#endif - -#if defined(UNDER_CE) -// Windows CE does not have a conforming signature for swprintf -# define BOOST_NO_SWPRINTF -#endif - -#if _MSC_VER < 1500 // 140X == VC++ 8.0 -# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -#endif - -#if _MSC_VER < 1600 // 150X == VC++ 9.0 - // A bug in VC9: -# define BOOST_NO_ADL_BARRIER -#endif - - -// MSVC (including the latest checked version) has not yet completely -// implemented value-initialization, as is reported: -// "VC++ does not value-initialize members of derived classes without -// user-declared constructor", reported in 2009 by Sylvester Hesp: -// https://connect.microsoft.com/VisualStudio/feedback/details/484295 -// "Presence of copy constructor breaks member class initialization", -// reported in 2009 by Alex Vakulenko: -// https://connect.microsoft.com/VisualStudio/feedback/details/499606 -// "Value-initialization in new-expression", reported in 2005 by -// Pavel Kuznetsov (MetaCommunications Engineering): -// https://connect.microsoft.com/VisualStudio/feedback/details/100744 -// See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues -// (Niels Dekker, LKEB, May 2010) -# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION - -#if _MSC_VER < 1600 || !defined(BOOST_STRICT_CONFIG) // 150X == VC++ 9.0 -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#endif - -#ifndef _NATIVE_WCHAR_T_DEFINED -# define BOOST_NO_INTRINSIC_WCHAR_T -#endif - -#if defined(_WIN32_WCE) || defined(UNDER_CE) -# define BOOST_NO_SWPRINTF -#endif - -// we have ThreadEx or GetSystemTimeAsFileTime unless we're running WindowsCE -#if !defined(_WIN32_WCE) && !defined(UNDER_CE) -# define BOOST_HAS_THREADEX -# define BOOST_HAS_GETSYSTEMTIMEASFILETIME -#endif - -// -// check for exception handling support: -#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif - -// -// __int64 support: -// -#if (_MSC_VER >= 1200) -# define BOOST_HAS_MS_INT64 -#endif -#if (_MSC_VER >= 1310) && (defined(_MSC_EXTENSIONS) || (_MSC_VER >= 1400)) -# define BOOST_HAS_LONG_LONG -#else -# define BOOST_NO_LONG_LONG -#endif -#if (_MSC_VER >= 1400) && !defined(_DEBUG) -# define BOOST_HAS_NRVO -#endif -// -// disable Win32 API's if compiler extentions are -// turned off: -// -#if !defined(_MSC_EXTENSIONS) && !defined(BOOST_DISABLE_WIN32) -# define BOOST_DISABLE_WIN32 -#endif -#if !defined(_CPPRTTI) && !defined(BOOST_NO_RTTI) -# define BOOST_NO_RTTI -#endif - -// -// TR1 features: -// -#if _MSC_VER >= 1700 -// # define BOOST_HAS_TR1_HASH // don't know if this is true yet. -// # define BOOST_HAS_TR1_TYPE_TRAITS // don't know if this is true yet. -# define BOOST_HAS_TR1_UNORDERED_MAP -# define BOOST_HAS_TR1_UNORDERED_SET -#endif - -// -// C++0x features -// -// See above for BOOST_NO_LONG_LONG - -// C++ features supported by VC++ 10 (aka 2010) -// -#if _MSC_VER < 1600 -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -# define BOOST_NO_CXX11_LAMBDAS -# define BOOST_NO_CXX11_RVALUE_REFERENCES -# define BOOST_NO_CXX11_STATIC_ASSERT -# define BOOST_NO_CXX11_NULLPTR -# define BOOST_NO_CXX11_DECLTYPE -#endif // _MSC_VER < 1600 - -#if _MSC_VER >= 1600 -# define BOOST_HAS_STDINT_H -#endif - -// C++ features supported by VC++ 11 (aka 2012) -// -#if _MSC_VER < 1700 -# define BOOST_NO_CXX11_RANGE_BASED_FOR -# define BOOST_NO_CXX11_SCOPED_ENUMS -#endif // _MSC_VER < 1700 - -// C++0x features not supported by any versions -#define BOOST_NO_CXX11_CHAR16_T -#define BOOST_NO_CXX11_CHAR32_T -#define BOOST_NO_CXX11_CONSTEXPR -#define BOOST_NO_CXX11_DECLTYPE_N3276 -#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#define BOOST_NO_CXX11_DELETED_FUNCTIONS -#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_CXX11_NOEXCEPT -#define BOOST_NO_CXX11_RAW_LITERALS -#define BOOST_NO_CXX11_TEMPLATE_ALIASES -#define BOOST_NO_CXX11_UNICODE_LITERALS -#define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -// -// prefix and suffix headers: -// -#ifndef BOOST_ABI_PREFIX -# define BOOST_ABI_PREFIX "boost/config/abi/msvc_prefix.hpp" -#endif -#ifndef BOOST_ABI_SUFFIX -# define BOOST_ABI_SUFFIX "boost/config/abi/msvc_suffix.hpp" -#endif - -#ifndef BOOST_COMPILER -// TODO: -// these things are mostly bogus. 1200 means version 12.0 of the compiler. The -// artificial versions assigned to them only refer to the versions of some IDE -// these compilers have been shipped with, and even that is not all of it. Some -// were shipped with freely downloadable SDKs, others as crosscompilers in eVC. -// IOW, you can't use these 'versions' in any sensible way. Sorry. -# if defined(UNDER_CE) -# if _MSC_VER < 1200 - // Note: these are so far off, they are not really supported -# elif _MSC_VER < 1300 // eVC++ 4 comes with 1200-1202 -# define BOOST_COMPILER_VERSION evc4.0 -# elif _MSC_VER < 1400 - // Note: I'm not aware of any CE compiler with version 13xx -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown EVC++ compiler version - please run the configure tests and report the results" -# else -# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results") -# endif -# elif _MSC_VER < 1500 -# define BOOST_COMPILER_VERSION evc8 -# elif _MSC_VER < 1600 -# define BOOST_COMPILER_VERSION evc9 -# elif _MSC_VER < 1700 -# define BOOST_COMPILER_VERSION evc10 -# elif _MSC_VER < 1800 -# define BOOST_COMPILER_VERSION evc11 -# else -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown EVC++ compiler version - please run the configure tests and report the results" -# else -# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results") -# endif -# endif -# else -# if _MSC_VER < 1200 - // Note: these are so far off, they are not really supported -# define BOOST_COMPILER_VERSION 5.0 -# elif _MSC_VER < 1300 -# define BOOST_COMPILER_VERSION 6.0 -# elif _MSC_VER < 1310 -# define BOOST_COMPILER_VERSION 7.0 -# elif _MSC_VER < 1400 -# define BOOST_COMPILER_VERSION 7.1 -# elif _MSC_VER < 1500 -# define BOOST_COMPILER_VERSION 8.0 -# elif _MSC_VER < 1600 -# define BOOST_COMPILER_VERSION 9.0 -# elif _MSC_VER < 1700 -# define BOOST_COMPILER_VERSION 10.0 -# elif _MSC_VER < 1800 -# define BOOST_COMPILER_VERSION 11.0 -# else -# define BOOST_COMPILER_VERSION _MSC_VER -# endif -# endif - -# define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) -#endif - -// -// last known and checked version is 1700 (VC11, aka 2011): -#if (_MSC_VER > 1700) -# if defined(BOOST_ASSERT_CONFIG) -# error "Unknown compiler version - please run the configure tests and report the results" -# else -# pragma message("Unknown compiler version - please run the configure tests and report the results") -# endif -#endif diff --git a/src/boost/boost/config/no_tr1/cmath.hpp b/src/boost/boost/config/no_tr1/cmath.hpp deleted file mode 100644 index d8268d8..0000000 --- a/src/boost/boost/config/no_tr1/cmath.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2008. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// The aim of this header is just to include but to do -// so in a way that does not result in recursive inclusion of -// the Boost TR1 components if boost/tr1/tr1/cmath is in the -// include search path. We have to do this to avoid circular -// dependencies: -// - -#ifndef BOOST_CONFIG_CMATH -# define BOOST_CONFIG_CMATH - -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_CONFIG_NO_CMATH_RECURSION -# endif - -# include - -# ifdef BOOST_CONFIG_NO_CMATH_RECURSION -# undef BOOST_TR1_NO_RECURSION -# undef BOOST_CONFIG_NO_CMATH_RECURSION -# endif - -#endif diff --git a/src/boost/boost/config/no_tr1/complex.hpp b/src/boost/boost/config/no_tr1/complex.hpp deleted file mode 100644 index ca20092..0000000 --- a/src/boost/boost/config/no_tr1/complex.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// The aim of this header is just to include but to do -// so in a way that does not result in recursive inclusion of -// the Boost TR1 components if boost/tr1/tr1/complex is in the -// include search path. We have to do this to avoid circular -// dependencies: -// - -#ifndef BOOST_CONFIG_COMPLEX -# define BOOST_CONFIG_COMPLEX - -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_CONFIG_NO_COMPLEX_RECURSION -# endif - -# include - -# ifdef BOOST_CONFIG_NO_COMPLEX_RECURSION -# undef BOOST_TR1_NO_RECURSION -# undef BOOST_CONFIG_NO_COMPLEX_RECURSION -# endif - -#endif diff --git a/src/boost/boost/config/no_tr1/functional.hpp b/src/boost/boost/config/no_tr1/functional.hpp deleted file mode 100644 index e395efc..0000000 --- a/src/boost/boost/config/no_tr1/functional.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// The aim of this header is just to include but to do -// so in a way that does not result in recursive inclusion of -// the Boost TR1 components if boost/tr1/tr1/functional is in the -// include search path. We have to do this to avoid circular -// dependencies: -// - -#ifndef BOOST_CONFIG_FUNCTIONAL -# define BOOST_CONFIG_FUNCTIONAL - -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_CONFIG_NO_FUNCTIONAL_RECURSION -# endif - -# include - -# ifdef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION -# undef BOOST_TR1_NO_RECURSION -# undef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION -# endif - -#endif diff --git a/src/boost/boost/config/no_tr1/memory.hpp b/src/boost/boost/config/no_tr1/memory.hpp deleted file mode 100644 index 2b5d208..0000000 --- a/src/boost/boost/config/no_tr1/memory.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// The aim of this header is just to include but to do -// so in a way that does not result in recursive inclusion of -// the Boost TR1 components if boost/tr1/tr1/memory is in the -// include search path. We have to do this to avoid circular -// dependencies: -// - -#ifndef BOOST_CONFIG_MEMORY -# define BOOST_CONFIG_MEMORY - -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_CONFIG_NO_MEMORY_RECURSION -# endif - -# include - -# ifdef BOOST_CONFIG_NO_MEMORY_RECURSION -# undef BOOST_TR1_NO_RECURSION -# undef BOOST_CONFIG_NO_MEMORY_RECURSION -# endif - -#endif diff --git a/src/boost/boost/config/no_tr1/utility.hpp b/src/boost/boost/config/no_tr1/utility.hpp deleted file mode 100644 index dea8f11..0000000 --- a/src/boost/boost/config/no_tr1/utility.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// The aim of this header is just to include but to do -// so in a way that does not result in recursive inclusion of -// the Boost TR1 components if boost/tr1/tr1/utility is in the -// include search path. We have to do this to avoid circular -// dependencies: -// - -#ifndef BOOST_CONFIG_UTILITY -# define BOOST_CONFIG_UTILITY - -# ifndef BOOST_TR1_NO_RECURSION -# define BOOST_TR1_NO_RECURSION -# define BOOST_CONFIG_NO_UTILITY_RECURSION -# endif - -# include - -# ifdef BOOST_CONFIG_NO_UTILITY_RECURSION -# undef BOOST_TR1_NO_RECURSION -# undef BOOST_CONFIG_NO_UTILITY_RECURSION -# endif - -#endif diff --git a/src/boost/boost/config/platform/aix.hpp b/src/boost/boost/config/platform/aix.hpp deleted file mode 100644 index 894ef42..0000000 --- a/src/boost/boost/config/platform/aix.hpp +++ /dev/null @@ -1,33 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// IBM/Aix specific config options: - -#define BOOST_PLATFORM "IBM Aix" - -#define BOOST_HAS_UNISTD_H -#define BOOST_HAS_NL_TYPES_H -#define BOOST_HAS_NANOSLEEP -#define BOOST_HAS_CLOCK_GETTIME - -// This needs support in "boost/cstdint.hpp" exactly like FreeBSD. -// This platform has header named which includes all -// the things needed. -#define BOOST_HAS_STDINT_H - -// Threading API's: -#define BOOST_HAS_PTHREADS -#define BOOST_HAS_PTHREAD_DELAY_NP -#define BOOST_HAS_SCHED_YIELD -//#define BOOST_HAS_PTHREAD_YIELD - -// boilerplate code: -#include - - - - diff --git a/src/boost/boost/config/platform/amigaos.hpp b/src/boost/boost/config/platform/amigaos.hpp deleted file mode 100644 index 34bcf41..0000000 --- a/src/boost/boost/config/platform/amigaos.hpp +++ /dev/null @@ -1,15 +0,0 @@ -// (C) Copyright John Maddock 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -#define BOOST_PLATFORM "AmigaOS" - -#define BOOST_DISABLE_THREADS -#define BOOST_NO_CWCHAR -#define BOOST_NO_STD_WSTRING -#define BOOST_NO_INTRINSIC_WCHAR_T - - diff --git a/src/boost/boost/config/platform/beos.hpp b/src/boost/boost/config/platform/beos.hpp deleted file mode 100644 index 48c3d8d..0000000 --- a/src/boost/boost/config/platform/beos.hpp +++ /dev/null @@ -1,26 +0,0 @@ -// (C) Copyright John Maddock 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// BeOS specific config options: - -#define BOOST_PLATFORM "BeOS" - -#define BOOST_NO_CWCHAR -#define BOOST_NO_CWCTYPE -#define BOOST_HAS_UNISTD_H - -#define BOOST_HAS_BETHREADS - -#ifndef BOOST_DISABLE_THREADS -# define BOOST_HAS_THREADS -#endif - -// boilerplate code: -#include - - - diff --git a/src/boost/boost/config/platform/bsd.hpp b/src/boost/boost/config/platform/bsd.hpp deleted file mode 100644 index a014297..0000000 --- a/src/boost/boost/config/platform/bsd.hpp +++ /dev/null @@ -1,86 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Darin Adler 2001. -// (C) Copyright Douglas Gregor 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// generic BSD config options: - -#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) -#error "This platform is not BSD" -#endif - -#ifdef __FreeBSD__ -#define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__) -#elif defined(__NetBSD__) -#define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__) -#elif defined(__OpenBSD__) -#define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__) -#elif defined(__DragonFly__) -#define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__) -#endif - -// -// is this the correct version check? -// FreeBSD has but does not -// advertise the fact in : -// -#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__) -# define BOOST_HAS_NL_TYPES_H -#endif - -// -// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in -// and not in -// -#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3))\ - || defined(__OpenBSD__) || defined(__DragonFly__) -# define BOOST_HAS_PTHREADS -#endif - -// -// No wide character support in the BSD header files: -// -#if defined(__NetBSD__) -#define __NetBSD_GCC__ (__GNUC__ * 1000000 \ - + __GNUC_MINOR__ * 1000 \ - + __GNUC_PATCHLEVEL__) -// XXX - the following is required until c++config.h -// defines _GLIBCXX_HAVE_SWPRINTF and friends -// or the preprocessor conditionals are removed -// from the cwchar header. -#define _GLIBCXX_HAVE_SWPRINTF 1 -#endif - -#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \ - || (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__)) -# define BOOST_NO_CWCHAR -#endif -// -// The BSD has macros only, no functions: -// -#if !defined(__OpenBSD__) || defined(__DragonFly__) -# define BOOST_NO_CTYPE_FUNCTIONS -#endif - -// -// thread API's not auto detected: -// -#define BOOST_HAS_SCHED_YIELD -#define BOOST_HAS_NANOSLEEP -#define BOOST_HAS_GETTIMEOFDAY -#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -#define BOOST_HAS_SIGACTION - -// boilerplate code: -#define BOOST_HAS_UNISTD_H -#include - - - - - - diff --git a/src/boost/boost/config/platform/cray.hpp b/src/boost/boost/config/platform/cray.hpp deleted file mode 100644 index 5c476e4..0000000 --- a/src/boost/boost/config/platform/cray.hpp +++ /dev/null @@ -1,18 +0,0 @@ -// (C) Copyright John Maddock 2011. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - -// See http://www.boost.org for most recent version. - -// SGI Irix specific config options: - -#define BOOST_PLATFORM "Cray" - -// boilerplate code: -#define BOOST_HAS_UNISTD_H -#include - - - diff --git a/src/boost/boost/config/platform/cygwin.hpp b/src/boost/boost/config/platform/cygwin.hpp deleted file mode 100644 index b7ef572..0000000 --- a/src/boost/boost/config/platform/cygwin.hpp +++ /dev/null @@ -1,58 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// cygwin specific config options: - -#define BOOST_PLATFORM "Cygwin" -#define BOOST_HAS_DIRENT_H -#define BOOST_HAS_LOG1P -#define BOOST_HAS_EXPM1 - -// -// Threading API: -// See if we have POSIX threads, if we do use them, otherwise -// revert to native Win threads. -#define BOOST_HAS_UNISTD_H -#include -#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) -# define BOOST_HAS_PTHREADS -# define BOOST_HAS_SCHED_YIELD -# define BOOST_HAS_GETTIMEOFDAY -# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# define BOOST_HAS_SIGACTION -#else -# if !defined(BOOST_HAS_WINTHREADS) -# define BOOST_HAS_WINTHREADS -# endif -# define BOOST_HAS_FTIME -#endif - -// -// find out if we have a stdint.h, there should be a better way to do this: -// -#include -#ifdef _STDINT_H -#define BOOST_HAS_STDINT_H -#endif - -/// Cygwin has no fenv.h -#define BOOST_NO_FENV_H - -// boilerplate code: -#include - -// -// Cygwin lies about XSI conformance, there is no nl_types.h: -// -#ifdef BOOST_HAS_NL_TYPES_H -# undef BOOST_HAS_NL_TYPES_H -#endif - - - - - diff --git a/src/boost/boost/config/platform/hpux.hpp b/src/boost/boost/config/platform/hpux.hpp deleted file mode 100644 index 19ce68e..0000000 --- a/src/boost/boost/config/platform/hpux.hpp +++ /dev/null @@ -1,87 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001 - 2003. -// (C) Copyright David Abrahams 2002. -// (C) Copyright Toon Knapen 2003. -// (C) Copyright Boris Gubenko 2006 - 2007. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// hpux specific config options: - -#define BOOST_PLATFORM "HP-UX" - -// In principle, HP-UX has a nice under the name -// However, it has the following problem: -// Use of UINT32_C(0) results in "0u l" for the preprocessed source -// (verifyable with gcc 2.95.3) -#if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined(__HP_aCC) -# define BOOST_HAS_STDINT_H -#endif - -#if !(defined(__HP_aCC) || !defined(_INCLUDE__STDC_A1_SOURCE)) -# define BOOST_NO_SWPRINTF -#endif -#if defined(__HP_aCC) && !defined(_INCLUDE__STDC_A1_SOURCE) -# define BOOST_NO_CWCTYPE -#endif - -#if defined(__GNUC__) -# if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3)) - // GNU C on HP-UX does not support threads (checked up to gcc 3.3) -# define BOOST_DISABLE_THREADS -# elif !defined(BOOST_DISABLE_THREADS) - // threads supported from gcc-3.3 onwards: -# define BOOST_HAS_THREADS -# define BOOST_HAS_PTHREADS -# endif -#elif defined(__HP_aCC) && !defined(BOOST_DISABLE_THREADS) -# define BOOST_HAS_PTHREADS -#endif - -// boilerplate code: -#define BOOST_HAS_UNISTD_H -#include - -// the following are always available: -#ifndef BOOST_HAS_GETTIMEOFDAY -# define BOOST_HAS_GETTIMEOFDAY -#endif -#ifndef BOOST_HAS_SCHED_YIELD -# define BOOST_HAS_SCHED_YIELD -#endif -#ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -#endif -#ifndef BOOST_HAS_NL_TYPES_H -# define BOOST_HAS_NL_TYPES_H -#endif -#ifndef BOOST_HAS_NANOSLEEP -# define BOOST_HAS_NANOSLEEP -#endif -#ifndef BOOST_HAS_GETTIMEOFDAY -# define BOOST_HAS_GETTIMEOFDAY -#endif -#ifndef BOOST_HAS_DIRENT_H -# define BOOST_HAS_DIRENT_H -#endif -#ifndef BOOST_HAS_CLOCK_GETTIME -# define BOOST_HAS_CLOCK_GETTIME -#endif -#ifndef BOOST_HAS_SIGACTION -# define BOOST_HAS_SIGACTION -#endif -#ifndef BOOST_HAS_NRVO -# ifndef __parisc -# define BOOST_HAS_NRVO -# endif -#endif -#ifndef BOOST_HAS_LOG1P -# define BOOST_HAS_LOG1P -#endif -#ifndef BOOST_HAS_EXPM1 -# define BOOST_HAS_EXPM1 -#endif - diff --git a/src/boost/boost/config/platform/irix.hpp b/src/boost/boost/config/platform/irix.hpp deleted file mode 100644 index aeae49c..0000000 --- a/src/boost/boost/config/platform/irix.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - -// See http://www.boost.org for most recent version. - -// SGI Irix specific config options: - -#define BOOST_PLATFORM "SGI Irix" - -#define BOOST_NO_SWPRINTF -// -// these are not auto detected by POSIX feature tests: -// -#define BOOST_HAS_GETTIMEOFDAY -#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE - -#ifdef __GNUC__ - // GNU C on IRIX does not support threads (checked up to gcc 3.3) -# define BOOST_DISABLE_THREADS -#endif - -// boilerplate code: -#define BOOST_HAS_UNISTD_H -#include - - - diff --git a/src/boost/boost/config/platform/linux.hpp b/src/boost/boost/config/platform/linux.hpp deleted file mode 100644 index a02aff7..0000000 --- a/src/boost/boost/config/platform/linux.hpp +++ /dev/null @@ -1,103 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// linux specific config options: - -#define BOOST_PLATFORM "linux" - -// make sure we have __GLIBC_PREREQ if available at all -#ifdef __cplusplus -#include -#else -#include -#endif - -// -// added to glibc 2.1.1 -// We can only test for 2.1 though: -// -#if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1))) - // defines int64_t unconditionally, but defines - // int64_t only if __GNUC__. Thus, assume a fully usable - // only when using GCC. -# if defined __GNUC__ -# define BOOST_HAS_STDINT_H -# endif -#endif - -#if defined(__LIBCOMO__) - // - // como on linux doesn't have std:: c functions: - // NOTE: versions of libcomo prior to beta28 have octal version numbering, - // e.g. version 25 is 21 (dec) - // -# if __LIBCOMO_VERSION__ <= 20 -# define BOOST_NO_STDC_NAMESPACE -# endif - -# if __LIBCOMO_VERSION__ <= 21 -# define BOOST_NO_SWPRINTF -# endif - -#endif - -// -// If glibc is past version 2 then we definitely have -// gettimeofday, earlier versions may or may not have it: -// -#if defined(__GLIBC__) && (__GLIBC__ >= 2) -# define BOOST_HAS_GETTIMEOFDAY -#endif - -#ifdef __USE_POSIX199309 -# define BOOST_HAS_NANOSLEEP -#endif - -#if defined(__GLIBC__) && defined(__GLIBC_PREREQ) -// __GLIBC_PREREQ is available since 2.1.2 - - // swprintf is available since glibc 2.2.0 -# if !__GLIBC_PREREQ(2,2) || (!defined(__USE_ISOC99) && !defined(__USE_UNIX98)) -# define BOOST_NO_SWPRINTF -# endif -#else -# define BOOST_NO_SWPRINTF -#endif - -// boilerplate code: -#define BOOST_HAS_UNISTD_H -#include -#define BOOST_HAS_PTHREAD_YIELD - -#ifndef __GNUC__ -// -// if the compiler is not gcc we still need to be able to parse -// the GNU system headers, some of which (mainly ) -// use GNU specific extensions: -// -# ifndef __extension__ -# define __extension__ -# endif -# ifndef __const__ -# define __const__ const -# endif -# ifndef __volatile__ -# define __volatile__ volatile -# endif -# ifndef __signed__ -# define __signed__ signed -# endif -# ifndef __typeof__ -# define __typeof__ typeof -# endif -# ifndef __inline__ -# define __inline__ inline -# endif -#endif - - diff --git a/src/boost/boost/config/platform/macos.hpp b/src/boost/boost/config/platform/macos.hpp deleted file mode 100644 index 6d876b1..0000000 --- a/src/boost/boost/config/platform/macos.hpp +++ /dev/null @@ -1,87 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Darin Adler 2001 - 2002. -// (C) Copyright Bill Kempf 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Mac OS specific config options: - -#define BOOST_PLATFORM "Mac OS" - -#if __MACH__ && !defined(_MSL_USING_MSL_C) - -// Using the Mac OS X system BSD-style C library. - -# ifndef BOOST_HAS_UNISTD_H -# define BOOST_HAS_UNISTD_H -# endif -// -// Begin by including our boilerplate code for POSIX -// feature detection, this is safe even when using -// the MSL as Metrowerks supply their own -// to replace the platform-native BSD one. G++ users -// should also always be able to do this on MaxOS X. -// -# include -# ifndef BOOST_HAS_STDINT_H -# define BOOST_HAS_STDINT_H -# endif - -// -// BSD runtime has pthreads, sigaction, sched_yield and gettimeofday, -// of these only pthreads are advertised in , so set the -// other options explicitly: -// -# define BOOST_HAS_SCHED_YIELD -# define BOOST_HAS_GETTIMEOFDAY -# define BOOST_HAS_SIGACTION - -# if (__GNUC__ < 3) && !defined( __APPLE_CC__) - -// GCC strange "ignore std" mode works better if you pretend everything -// is in the std namespace, for the most part. - -# define BOOST_NO_STDC_NAMESPACE -# endif - -# if (__GNUC__ == 4) - -// Both gcc and intel require these. -# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# define BOOST_HAS_NANOSLEEP - -# endif - -#else - -// Using the MSL C library. - -// We will eventually support threads in non-Carbon builds, but we do -// not support this yet. -# if ( defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON ) || ( defined(TARGET_CARBON) && TARGET_CARBON ) - -# if !defined(BOOST_HAS_PTHREADS) -// MPTasks support is deprecated/removed from Boost: -//# define BOOST_HAS_MPTASKS -# elif ( __dest_os == __mac_os_x ) -// We are doing a Carbon/Mach-O/MSL build which has pthreads, but only the -// gettimeofday and no posix. -# define BOOST_HAS_GETTIMEOFDAY -# endif - -#ifdef BOOST_HAS_PTHREADS -# define BOOST_HAS_THREADS -#endif - -// The remote call manager depends on this. -# define BOOST_BIND_ENABLE_PASCAL - -# endif - -#endif - - - diff --git a/src/boost/boost/config/platform/qnxnto.hpp b/src/boost/boost/config/platform/qnxnto.hpp deleted file mode 100644 index b1377c8..0000000 --- a/src/boost/boost/config/platform/qnxnto.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// (C) Copyright Jim Douglas 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// QNX specific config options: - -#define BOOST_PLATFORM "QNX" - -#define BOOST_HAS_UNISTD_H -#include - -// QNX claims XOpen version 5 compatibility, but doesn't have an nl_types.h -// or log1p and expm1: -#undef BOOST_HAS_NL_TYPES_H -#undef BOOST_HAS_LOG1P -#undef BOOST_HAS_EXPM1 - -#define BOOST_HAS_PTHREADS -#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE - -#define BOOST_HAS_GETTIMEOFDAY -#define BOOST_HAS_CLOCK_GETTIME -#define BOOST_HAS_NANOSLEEP - - - - - diff --git a/src/boost/boost/config/platform/solaris.hpp b/src/boost/boost/config/platform/solaris.hpp deleted file mode 100644 index 9f92566..0000000 --- a/src/boost/boost/config/platform/solaris.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// sun specific config options: - -#define BOOST_PLATFORM "Sun Solaris" - -#define BOOST_HAS_GETTIMEOFDAY - -// boilerplate code: -#define BOOST_HAS_UNISTD_H -#include - -// -// pthreads don't actually work with gcc unless _PTHREADS is defined: -// -#if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS) -# undef BOOST_HAS_PTHREADS -#endif - - - - diff --git a/src/boost/boost/config/platform/symbian.hpp b/src/boost/boost/config/platform/symbian.hpp deleted file mode 100644 index e02a778..0000000 --- a/src/boost/boost/config/platform/symbian.hpp +++ /dev/null @@ -1,97 +0,0 @@ -// (C) Copyright Yuriy Krasnoschek 2009. -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// symbian specific config options: - - -#define BOOST_PLATFORM "Symbian" -#define BOOST_SYMBIAN 1 - - -#if defined(__S60_3X__) -// Open C / C++ plugin was introdused in this SDK, earlier versions don't have CRT / STL -# define BOOST_S60_3rd_EDITION_FP2_OR_LATER_SDK -// make sure we have __GLIBC_PREREQ if available at all -#ifdef __cplusplus -#include -#else -#include -#endif// boilerplate code: -# define BOOST_HAS_UNISTD_H -# include -// S60 SDK defines _POSIX_VERSION as POSIX.1 -# ifndef BOOST_HAS_STDINT_H -# define BOOST_HAS_STDINT_H -# endif -# ifndef BOOST_HAS_GETTIMEOFDAY -# define BOOST_HAS_GETTIMEOFDAY -# endif -# ifndef BOOST_HAS_DIRENT_H -# define BOOST_HAS_DIRENT_H -# endif -# ifndef BOOST_HAS_SIGACTION -# define BOOST_HAS_SIGACTION -# endif -# ifndef BOOST_HAS_PTHREADS -# define BOOST_HAS_PTHREADS -# endif -# ifndef BOOST_HAS_NANOSLEEP -# define BOOST_HAS_NANOSLEEP -# endif -# ifndef BOOST_HAS_SCHED_YIELD -# define BOOST_HAS_SCHED_YIELD -# endif -# ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# endif -# ifndef BOOST_HAS_LOG1P -# define BOOST_HAS_LOG1P -# endif -# ifndef BOOST_HAS_EXPM1 -# define BOOST_HAS_EXPM1 -# endif -# ifndef BOOST_POSIX_API -# define BOOST_POSIX_API -# endif -// endianess support -# include -// Symbian SDK provides _BYTE_ORDER instead of __BYTE_ORDER -# ifndef __LITTLE_ENDIAN -# ifdef _LITTLE_ENDIAN -# define __LITTLE_ENDIAN _LITTLE_ENDIAN -# else -# define __LITTLE_ENDIAN 1234 -# endif -# endif -# ifndef __BIG_ENDIAN -# ifdef _BIG_ENDIAN -# define __BIG_ENDIAN _BIG_ENDIAN -# else -# define __BIG_ENDIAN 4321 -# endif -# endif -# ifndef __BYTE_ORDER -# define __BYTE_ORDER __LITTLE_ENDIAN // Symbian is LE -# endif -// Known limitations -# define BOOST_ASIO_DISABLE_SERIAL_PORT -# define BOOST_DATE_TIME_NO_LOCALE -# define BOOST_NO_STD_WSTRING -# define BOOST_EXCEPTION_DISABLE -# define BOOST_NO_EXCEPTIONS - -#else // TODO: More platform support e.g. UIQ -# error "Unsuppoted Symbian SDK" -#endif - -#if defined(__WINSCW__) && !defined(BOOST_DISABLE_WIN32) -# define BOOST_DISABLE_WIN32 // winscw defines WIN32 macro -#endif - - diff --git a/src/boost/boost/config/platform/vms.hpp b/src/boost/boost/config/platform/vms.hpp deleted file mode 100644 index f70efcf..0000000 --- a/src/boost/boost/config/platform/vms.hpp +++ /dev/null @@ -1,25 +0,0 @@ -// (C) Copyright Artyom Beilis 2010. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#ifndef BOOST_CONFIG_PLATFORM_VMS_HPP -#define BOOST_CONFIG_PLATFORM_VMS_HPP - -#define BOOST_PLATFORM "OpenVMS" - -#undef BOOST_HAS_STDINT_H -#define BOOST_HAS_UNISTD_H -#define BOOST_HAS_NL_TYPES_H -#define BOOST_HAS_GETTIMEOFDAY -#define BOOST_HAS_DIRENT_H -#define BOOST_HAS_PTHREADS -#define BOOST_HAS_NANOSLEEP -#define BOOST_HAS_CLOCK_GETTIME -#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -#define BOOST_HAS_LOG1P -#define BOOST_HAS_EXPM1 -#define BOOST_HAS_THREADS -#undef BOOST_HAS_SCHED_YIELD - -#endif diff --git a/src/boost/boost/config/platform/vxworks.hpp b/src/boost/boost/config/platform/vxworks.hpp deleted file mode 100644 index 6ec5171..0000000 --- a/src/boost/boost/config/platform/vxworks.hpp +++ /dev/null @@ -1,31 +0,0 @@ -// (C) Copyright Dustin Spicuzza 2009. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// vxWorks specific config options: - -#define BOOST_PLATFORM "vxWorks" - -#define BOOST_NO_CWCHAR -#define BOOST_NO_INTRINSIC_WCHAR_T - -#if defined(__GNUC__) && defined(__STRICT_ANSI__) -#define BOOST_NO_INT64_T -#endif - -#define BOOST_HAS_UNISTD_H - -// these allow posix_features to work, since vxWorks doesn't -// define them itself -#define _POSIX_TIMERS 1 -#define _POSIX_THREADS 1 - -// vxworks doesn't work with asio serial ports -#define BOOST_ASIO_DISABLE_SERIAL_PORT - -// boilerplate code: -#include - diff --git a/src/boost/boost/config/platform/win32.hpp b/src/boost/boost/config/platform/win32.hpp deleted file mode 100644 index 3922012..0000000 --- a/src/boost/boost/config/platform/win32.hpp +++ /dev/null @@ -1,71 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Bill Kempf 2001. -// (C) Copyright Aleksey Gurtovoy 2003. -// (C) Copyright Rene Rivera 2005. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Win32 specific config options: - -#define BOOST_PLATFORM "Win32" - -// Get the information about the MinGW runtime, i.e. __MINGW32_*VERSION. -#if defined(__MINGW32__) -# include <_mingw.h> -#endif - -#if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF) -# define BOOST_NO_SWPRINTF -#endif - -// Default defines for BOOST_SYMBOL_EXPORT and BOOST_SYMBOL_IMPORT -// If a compiler doesn't support __declspec(dllexport)/__declspec(dllimport), -// its boost/config/compiler/ file must define BOOST_SYMBOL_EXPORT and -// BOOST_SYMBOL_IMPORT -#ifndef BOOST_SYMBOL_EXPORT -# define BOOST_HAS_DECLSPEC -# define BOOST_SYMBOL_EXPORT __declspec(dllexport) -# define BOOST_SYMBOL_IMPORT __declspec(dllimport) -#endif - -#if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0))) -# define BOOST_HAS_STDINT_H -# define __STDC_LIMIT_MACROS -# define BOOST_HAS_DIRENT_H -# define BOOST_HAS_UNISTD_H -#endif - -#if defined(__MINGW32__) && (__GNUC__ >= 4) -# define BOOST_HAS_EXPM1 -# define BOOST_HAS_LOG1P -# define BOOST_HAS_GETTIMEOFDAY -#endif -// -// Win32 will normally be using native Win32 threads, -// but there is a pthread library avaliable as an option, -// we used to disable this when BOOST_DISABLE_WIN32 was -// defined but no longer - this should allow some -// files to be compiled in strict mode - while maintaining -// a consistent setting of BOOST_HAS_THREADS across -// all translation units (needed for shared_ptr etc). -// - -#ifdef _WIN32_WCE -# define BOOST_NO_ANSI_APIS -#else -# define BOOST_HAS_GETSYSTEMTIMEASFILETIME -#endif - -#ifndef BOOST_HAS_PTHREADS -# define BOOST_HAS_WINTHREADS -#endif - -#ifndef BOOST_DISABLE_WIN32 -// WEK: Added -#define BOOST_HAS_FTIME -#define BOOST_WINDOWS 1 - -#endif diff --git a/src/boost/boost/config/posix_features.hpp b/src/boost/boost/config/posix_features.hpp deleted file mode 100644 index d129547..0000000 --- a/src/boost/boost/config/posix_features.hpp +++ /dev/null @@ -1,95 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - -// See http://www.boost.org for most recent version. - -// All POSIX feature tests go in this file, -// Note that we test _POSIX_C_SOURCE and _XOPEN_SOURCE as well -// _POSIX_VERSION and _XOPEN_VERSION: on some systems POSIX API's -// may be present but none-functional unless _POSIX_C_SOURCE and -// _XOPEN_SOURCE have been defined to the right value (it's up -// to the user to do this *before* including any header, although -// in most cases the compiler will do this for you). - -# if defined(BOOST_HAS_UNISTD_H) -# include - - // XOpen has , but is this the correct version check? -# if defined(_XOPEN_VERSION) && (_XOPEN_VERSION >= 3) -# define BOOST_HAS_NL_TYPES_H -# endif - - // POSIX version 6 requires -# if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 200100) -# define BOOST_HAS_STDINT_H -# endif - - // POSIX version 2 requires -# if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 199009L) -# define BOOST_HAS_DIRENT_H -# endif - - // POSIX version 3 requires to have sigaction: -# if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 199506L) -# define BOOST_HAS_SIGACTION -# endif - // POSIX defines _POSIX_THREADS > 0 for pthread support, - // however some platforms define _POSIX_THREADS without - // a value, hence the (_POSIX_THREADS+0 >= 0) check. - // Strictly speaking this may catch platforms with a - // non-functioning stub , but such occurrences should - // occur very rarely if at all. -# if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_MPTASKS) -# define BOOST_HAS_PTHREADS -# endif - - // BOOST_HAS_NANOSLEEP: - // This is predicated on _POSIX_TIMERS or _XOPEN_REALTIME: -# if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)) \ - || (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0)) -# define BOOST_HAS_NANOSLEEP -# endif - - // BOOST_HAS_CLOCK_GETTIME: - // This is predicated on _POSIX_TIMERS (also on _XOPEN_REALTIME - // but at least one platform - linux - defines that flag without - // defining clock_gettime): -# if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)) -# define BOOST_HAS_CLOCK_GETTIME -# endif - - // BOOST_HAS_SCHED_YIELD: - // This is predicated on _POSIX_PRIORITY_SCHEDULING or - // on _POSIX_THREAD_PRIORITY_SCHEDULING or on _XOPEN_REALTIME. -# if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING+0 > 0)\ - || (defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING+0 > 0))\ - || (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0)) -# define BOOST_HAS_SCHED_YIELD -# endif - - // BOOST_HAS_GETTIMEOFDAY: - // BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE: - // These are predicated on _XOPEN_VERSION, and appears to be first released - // in issue 4, version 2 (_XOPEN_VERSION > 500). - // Likewise for the functions log1p and expm1. -# if defined(_XOPEN_VERSION) && (_XOPEN_VERSION+0 >= 500) -# define BOOST_HAS_GETTIMEOFDAY -# if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE+0 >= 500) -# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# endif -# ifndef BOOST_HAS_LOG1P -# define BOOST_HAS_LOG1P -# endif -# ifndef BOOST_HAS_EXPM1 -# define BOOST_HAS_EXPM1 -# endif -# endif - -# endif - - - - diff --git a/src/boost/boost/config/requires_threads.hpp b/src/boost/boost/config/requires_threads.hpp deleted file mode 100644 index cfaff23..0000000 --- a/src/boost/boost/config/requires_threads.hpp +++ /dev/null @@ -1,92 +0,0 @@ -// (C) Copyright John Maddock 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - -#ifndef BOOST_CONFIG_REQUIRES_THREADS_HPP -#define BOOST_CONFIG_REQUIRES_THREADS_HPP - -#ifndef BOOST_CONFIG_HPP -# include -#endif - -#if defined(BOOST_DISABLE_THREADS) - -// -// special case to handle versions of gcc which don't currently support threads: -// -#if defined(__GNUC__) && ((__GNUC__ < 3) || (__GNUC_MINOR__ <= 3) || !defined(BOOST_STRICT_CONFIG)) -// -// this is checked up to gcc 3.3: -// -#if defined(__sgi) || defined(__hpux) -# error "Multi-threaded programs are not supported by gcc on HPUX or Irix (last checked with gcc 3.3)" -#endif - -#endif - -# error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS" - -#elif !defined(BOOST_HAS_THREADS) - -# if defined __COMO__ -// Comeau C++ -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -D_MT (Windows) or -D_REENTRANT (Unix)" - -#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC) -// Intel -#ifdef _WIN32 -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: either /MT /MTd /MD or /MDd" -#else -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -openmp" -#endif - -# elif defined __GNUC__ -// GNU C++: -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)" - -#elif defined __sgi -// SGI MIPSpro C++ -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -D_SGI_MP_SOURCE" - -#elif defined __DECCXX -// Compaq Tru64 Unix cxx -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread" - -#elif defined __BORLANDC__ -// Borland -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -tWM" - -#elif defined __MWERKS__ -// Metrowerks CodeWarrior -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: either -runtime sm, -runtime smd, -runtime dm, or -runtime dmd" - -#elif defined __SUNPRO_CC -// Sun Workshop Compiler C++ -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -mt" - -#elif defined __HP_aCC -// HP aCC -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: -mt" - -#elif defined(__IBMCPP__) -// IBM Visual Age -# error "Compiler threading support is not turned on. Please compile the code with the xlC_r compiler" - -#elif defined _MSC_VER -// Microsoft Visual C++ -// -// Must remain the last #elif since some other vendors (Metrowerks, for -// example) also #define _MSC_VER -# error "Compiler threading support is not turned on. Please set the correct command line options for threading: either /MT /MTd /MD or /MDd" - -#else - -# error "Compiler threading support is not turned on. Please consult your compiler's documentation for the appropriate options to use" - -#endif // compilers - -#endif // BOOST_HAS_THREADS - -#endif // BOOST_CONFIG_REQUIRES_THREADS_HPP diff --git a/src/boost/boost/config/select_compiler_config.hpp b/src/boost/boost/config/select_compiler_config.hpp deleted file mode 100644 index 0d47b25..0000000 --- a/src/boost/boost/config/select_compiler_config.hpp +++ /dev/null @@ -1,112 +0,0 @@ -// Boost compiler configuration selection header file - -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Martin Wille 2003. -// (C) Copyright Guillaume Melquiond 2003. -// -// Distributed under the Boost Software License, Version 1.0. -// (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org/ for most recent version. - -// locate which compiler we are using and define -// BOOST_COMPILER_CONFIG as needed: - -#if defined(__GCCXML__) -// GCC-XML emulates other compilers, it has to appear first here! -# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp" - -#elif defined(_CRAYC) -// EDG based Cray compiler: -# define BOOST_COMPILER_CONFIG "boost/config/compiler/cray.hpp" - -#elif defined __CUDACC__ -// NVIDIA CUDA C++ compiler for GPU -# define BOOST_COMPILER_CONFIG "boost/config/compiler/nvcc.hpp" - -#elif defined __COMO__ -// Comeau C++ -# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp" - -#elif defined(__PATHSCALE__) && (__PATHCC__ >= 4) -// PathScale EKOPath compiler (has to come before clang and gcc) -# define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp" - -#elif defined __clang__ -// Clang C++ emulates GCC, so it has to appear early. -# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp" - -#elif defined __DMC__ -// Digital Mars C++ -# define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp" - -#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC) -// Intel -# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp" - -# elif defined __GNUC__ -// GNU C++: -# define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp" - -#elif defined __KCC -// Kai C++ -# define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp" - -#elif defined __sgi -// SGI MIPSpro C++ -# define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp" - -#elif defined __DECCXX -// Compaq Tru64 Unix cxx -# define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp" - -#elif defined __ghs -// Greenhills C++ -# define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp" - -#elif defined __CODEGEARC__ -// CodeGear - must be checked for before Borland -# define BOOST_COMPILER_CONFIG "boost/config/compiler/codegear.hpp" - -#elif defined __BORLANDC__ -// Borland -# define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp" - -#elif defined __MWERKS__ -// Metrowerks CodeWarrior -# define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp" - -#elif defined __SUNPRO_CC -// Sun Workshop Compiler C++ -# define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp" - -#elif defined __HP_aCC -// HP aCC -# define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp" - -#elif defined(__MRC__) || defined(__SC__) -// MPW MrCpp or SCpp -# define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp" - -#elif defined(__IBMCPP__) -// IBM Visual Age -# define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp" - -#elif defined(__PGI) -// Portland Group Inc. -# define BOOST_COMPILER_CONFIG "boost/config/compiler/pgi.hpp" - -#elif defined _MSC_VER -// Microsoft Visual C++ -// -// Must remain the last #elif since some other vendors (Metrowerks, for -// example) also #define _MSC_VER -# define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp" - -#elif defined (BOOST_ASSERT_CONFIG) -// this must come last - generate an error if we don't -// recognise the compiler: -# error "Unknown compiler - please configure (http://www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)" - -#endif diff --git a/src/boost/boost/config/select_platform_config.hpp b/src/boost/boost/config/select_platform_config.hpp deleted file mode 100644 index 2af61d2..0000000 --- a/src/boost/boost/config/select_platform_config.hpp +++ /dev/null @@ -1,105 +0,0 @@ -// Boost compiler configuration selection header file - -// (C) Copyright John Maddock 2001 - 2002. -// (C) Copyright Jens Maurer 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// locate which platform we are on and define BOOST_PLATFORM_CONFIG as needed. -// Note that we define the headers to include using "header_name" not -// in order to prevent macro expansion within the header -// name (for example "linux" is a macro on linux systems). - -#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC) -// linux, also other platforms (Hurd etc) that use GLIBC, should these really have their own config headers though? -# define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp" - -#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) -// BSD: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp" - -#elif defined(sun) || defined(__sun) -// solaris: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/solaris.hpp" - -#elif defined(__sgi) -// SGI Irix: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/irix.hpp" - -#elif defined(__hpux) -// hp unix: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/hpux.hpp" - -#elif defined(__CYGWIN__) -// cygwin is not win32: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/cygwin.hpp" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -// win32: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp" - -#elif defined(__BEOS__) -// BeOS -# define BOOST_PLATFORM_CONFIG "boost/config/platform/beos.hpp" - -#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) -// MacOS -# define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp" - -#elif defined(__IBMCPP__) || defined(_AIX) -// IBM -# define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp" - -#elif defined(__amigaos__) -// AmigaOS -# define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp" - -#elif defined(__QNXNTO__) -// QNX: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/qnxnto.hpp" - -#elif defined(__VXWORKS__) -// vxWorks: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/vxworks.hpp" - -#elif defined(__SYMBIAN32__) -// Symbian: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/symbian.hpp" - -#elif defined(_CRAYC) -// Cray: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/cray.hpp" - -#elif defined(__VMS) -// VMS: -# define BOOST_PLATFORM_CONFIG "boost/config/platform/vms.hpp" -#else - -# if defined(unix) \ - || defined(__unix) \ - || defined(_XOPEN_SOURCE) \ - || defined(_POSIX_SOURCE) - - // generic unix platform: - -# ifndef BOOST_HAS_UNISTD_H -# define BOOST_HAS_UNISTD_H -# endif - -# include - -# endif - -# if defined (BOOST_ASSERT_CONFIG) - // this must come last - generate an error if we don't - // recognise the platform: -# error "Unknown platform - please configure and report the results to boost.org" -# endif - -#endif - - - diff --git a/src/boost/boost/config/select_stdlib_config.hpp b/src/boost/boost/config/select_stdlib_config.hpp deleted file mode 100644 index 96ede00..0000000 --- a/src/boost/boost/config/select_stdlib_config.hpp +++ /dev/null @@ -1,85 +0,0 @@ -// Boost compiler configuration selection header file - -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001 - 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - -// See http://www.boost.org for most recent version. - -// locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed: - -// First include to determine if some version of STLport is in use as the std lib -// (do not rely on this header being included since users can short-circuit this header -// if they know whose std lib they are using.) -#ifdef __cplusplus -# include -#else -# include -#endif - -#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) -// STLPort library; this _must_ come first, otherwise since -// STLport typically sits on top of some other library, we -// can end up detecting that first rather than STLport: -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp" - -#else - -// If our std lib was not some version of STLport, then include as it is about -// the smallest of the std lib headers that includes real C++ stuff. (Some std libs do not -// include their C++-related macros in so this additional include makes sure -// we get those definitions) -// (again do not rely on this header being included since users can short-circuit this -// header if they know whose std lib they are using.) -#include - -#if defined(__LIBCOMO__) -// Comeau STL: -#define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp" - -#elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER) -// Rogue Wave library: -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp" - -#elif defined(_LIBCPP_VERSION) -// libc++ -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcpp.hpp" - -#elif defined(__GLIBCPP__) || defined(__GLIBCXX__) -// GNU libstdc++ 3 -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp" - -#elif defined(__STL_CONFIG_H) -// generic SGI STL -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp" - -#elif defined(__MSL_CPP__) -// MSL standard lib: -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp" - -#elif defined(__IBMCPP__) -// take the default VACPP std lib -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp" - -#elif defined(MSIPL_COMPILE_H) -// Modena C++ standard library -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp" - -#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER) -// Dinkumware Library (this has to appear after any possible replacement libraries): -# define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp" - -#elif defined (BOOST_ASSERT_CONFIG) -// this must come last - generate an error if we don't -// recognise the library: -# error "Unknown standard library - please configure and report the results to boost.org" - -#endif - -#endif - - - diff --git a/src/boost/boost/config/stdlib/dinkumware.hpp b/src/boost/boost/config/stdlib/dinkumware.hpp deleted file mode 100644 index 3058851..0000000 --- a/src/boost/boost/config/stdlib/dinkumware.hpp +++ /dev/null @@ -1,155 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001. -// (C) Copyright Peter Dimov 2001. -// (C) Copyright David Abrahams 2002. -// (C) Copyright Guillaume Melquiond 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Dinkumware standard library config: - -#if !defined(_YVALS) && !defined(_CPPLIB_VER) -#include -#if !defined(_YVALS) && !defined(_CPPLIB_VER) -#error This is not the Dinkumware lib! -#endif -#endif - - -#if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306) - // full dinkumware 3.06 and above - // fully conforming provided the compiler supports it: -# if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(__BORLANDC__) && !defined(_STD) && !(defined(__ICC) && (__ICC >= 700)) // can be defined in yvals.h -# define BOOST_NO_STDC_NAMESPACE -# endif -# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300)) && defined(BOOST_MSVC) -# define BOOST_NO_STD_ALLOCATOR -# endif -# define BOOST_HAS_PARTIAL_STD_ALLOCATOR -# if defined(BOOST_MSVC) && (BOOST_MSVC < 1300) - // if this lib version is set up for vc6 then there is no std::use_facet: -# define BOOST_NO_STD_USE_FACET -# define BOOST_HAS_TWO_ARG_USE_FACET - // C lib functions aren't in namespace std either: -# define BOOST_NO_STDC_NAMESPACE - // and nor is -# define BOOST_NO_EXCEPTION_STD_NAMESPACE -# endif -// There's no numeric_limits support unless _LONGLONG is defined: -# if !defined(_LONGLONG) && (_CPPLIB_VER <= 310) -# define BOOST_NO_MS_INT64_NUMERIC_LIMITS -# endif -// 3.06 appears to have (non-sgi versions of) & , -// and no at all -#else -# define BOOST_MSVC_STD_ITERATOR 1 -# define BOOST_NO_STD_ITERATOR -# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS -# define BOOST_NO_STD_ALLOCATOR -# define BOOST_NO_STDC_NAMESPACE -# define BOOST_NO_STD_USE_FACET -# define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN -# define BOOST_HAS_MACRO_USE_FACET -# ifndef _CPPLIB_VER - // Updated Dinkum library defines this, and provides - // its own min and max definitions, as does MTA version. -# ifndef __MTA__ -# define BOOST_NO_STD_MIN_MAX -# endif -# define BOOST_NO_MS_INT64_NUMERIC_LIMITS -# endif -#endif - -// -// std extension namespace is stdext for vc7.1 and later, -// the same applies to other compilers that sit on top -// of vc7.1 (Intel and Comeau): -// -#if defined(_MSC_VER) && (_MSC_VER >= 1310) && !defined(__BORLANDC__) -# define BOOST_STD_EXTENSION_NAMESPACE stdext -#endif - - -#if (defined(_MSC_VER) && (_MSC_VER <= 1300) && !defined(__BORLANDC__)) || !defined(_CPPLIB_VER) || (_CPPLIB_VER < 306) - // if we're using a dinkum lib that's - // been configured for VC6/7 then there is - // no iterator traits (true even for icl) -# define BOOST_NO_STD_ITERATOR_TRAITS -#endif - -#if defined(__ICL) && (__ICL < 800) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310) -// Intel C++ chokes over any non-trivial use of -// this may be an overly restrictive define, but regex fails without it: -# define BOOST_NO_STD_LOCALE -#endif - -#include -#if ( (!_HAS_EXCEPTIONS && !defined(__ghs__)) || (!_HAS_NAMESPACE && defined(__ghs__)) ) -# define BOOST_NO_STD_TYPEINFO -#endif - -// C++0x headers implemented in 520 (as shipped by Microsoft) -// -#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520 -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_FUNCTIONAL -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_SMART_PTR -#endif - -#if (!defined(_HAS_TR1_IMPORTS) || (_HAS_TR1_IMPORTS+0 == 0)) && !defined(BOOST_NO_CXX11_HDR_TUPLE) -# define BOOST_NO_CXX11_HDR_TUPLE -#endif - -// C++0x headers implemented in 540 (as shipped by Microsoft) -// -#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 540 -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -#endif - -// -// C++0x headers not yet (fully) implemented: -// -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST - -#ifdef _CPPLIB_VER -# define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER -#else -# define BOOST_DINKUMWARE_STDLIB 1 -#endif - -#ifdef _CPPLIB_VER -# define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER) -#else -# define BOOST_STDLIB "Dinkumware standard library version 1.x" -#endif - - - - - - - - - diff --git a/src/boost/boost/config/stdlib/libcomo.hpp b/src/boost/boost/config/stdlib/libcomo.hpp deleted file mode 100644 index 29490f1..0000000 --- a/src/boost/boost/config/stdlib/libcomo.hpp +++ /dev/null @@ -1,72 +0,0 @@ -// (C) Copyright John Maddock 2002 - 2003. -// (C) Copyright Jens Maurer 2002 - 2003. -// (C) Copyright Beman Dawes 2002 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Comeau STL: - -#if !defined(__LIBCOMO__) -# include -# if !defined(__LIBCOMO__) -# error "This is not the Comeau STL!" -# endif -#endif - -// -// std::streambuf is non-standard -// NOTE: versions of libcomo prior to beta28 have octal version numbering, -// e.g. version 25 is 21 (dec) -#if __LIBCOMO_VERSION__ <= 22 -# define BOOST_NO_STD_WSTREAMBUF -#endif - -#if (__LIBCOMO_VERSION__ <= 31) && defined(_WIN32) -#define BOOST_NO_SWPRINTF -#endif - -#if __LIBCOMO_VERSION__ >= 31 -# define BOOST_HAS_HASH -# define BOOST_HAS_SLIST -#endif - -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - -// -// Intrinsic type_traits support. -// The SGI STL has it's own __type_traits class, which -// has intrinsic compiler support with SGI's compilers. -// Whatever map SGI style type traits to boost equivalents: -// -#define BOOST_HAS_SGI_TYPE_TRAITS - -#define BOOST_STDLIB "Comeau standard library " BOOST_STRINGIZE(__LIBCOMO_VERSION__) - - diff --git a/src/boost/boost/config/stdlib/libcpp.hpp b/src/boost/boost/config/stdlib/libcpp.hpp deleted file mode 100644 index 3d57440..0000000 --- a/src/boost/boost/config/stdlib/libcpp.hpp +++ /dev/null @@ -1,37 +0,0 @@ -// (C) Copyright Christopher Jefferson 2011. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// config for libc++ -// Might need more in here later. - -#if !defined(_LIBCPP_VERSION) -# include -# if !defined(_LIBCPP_VERSION) -# error "This is not libc++!" -# endif -#endif - -#define BOOST_STDLIB "libc++ version " BOOST_STRINGIZE(_LIBCPP_VERSION) - -#define BOOST_HAS_THREADS - -#ifdef _LIBCPP_HAS_NO_VARIADICS -# define BOOST_NO_CXX11_HDR_TUPLE -#endif - -// -// These appear to be unusable/incomplete so far: -// -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR - -// libc++ uses a non-standard messages_base -#define BOOST_NO_STD_MESSAGES - -// --- end --- diff --git a/src/boost/boost/config/stdlib/libstdcpp3.hpp b/src/boost/boost/config/stdlib/libstdcpp3.hpp deleted file mode 100644 index c56dff2..0000000 --- a/src/boost/boost/config/stdlib/libstdcpp3.hpp +++ /dev/null @@ -1,165 +0,0 @@ -// (C) Copyright John Maddock 2001. -// (C) Copyright Jens Maurer 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// config for libstdc++ v3 -// not much to go in here: - -#define BOOST_GNU_STDLIB 1 - -#ifdef __GLIBCXX__ -#define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCXX__) -#else -#define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCPP__) -#endif - -#if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T) -# define BOOST_NO_CWCHAR -# define BOOST_NO_CWCTYPE -# define BOOST_NO_STD_WSTRING -# define BOOST_NO_STD_WSTREAMBUF -#endif - -#if defined(__osf__) && !defined(_REENTRANT) \ - && ( defined(_GLIBCXX_HAVE_GTHR_DEFAULT) || defined(_GLIBCPP_HAVE_GTHR_DEFAULT) ) -// GCC 3 on Tru64 forces the definition of _REENTRANT when any std lib header -// file is included, therefore for consistency we define it here as well. -# define _REENTRANT -#endif - -#ifdef __GLIBCXX__ // gcc 3.4 and greater: -# if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \ - || defined(_GLIBCXX__PTHREADS) \ - || defined(_GLIBCXX_HAS_GTHREADS) \ - || defined(_WIN32) - // - // If the std lib has thread support turned on, then turn it on in Boost - // as well. We do this because some gcc-3.4 std lib headers define _REENTANT - // while others do not... - // -# define BOOST_HAS_THREADS -# else -# define BOOST_DISABLE_THREADS -# endif -#elif defined(__GLIBCPP__) \ - && !defined(_GLIBCPP_HAVE_GTHR_DEFAULT) \ - && !defined(_GLIBCPP__PTHREADS) - // disable thread support if the std lib was built single threaded: -# define BOOST_DISABLE_THREADS -#endif - -#if (defined(linux) || defined(__linux) || defined(__linux__)) && defined(__arm__) && defined(_GLIBCPP_HAVE_GTHR_DEFAULT) -// linux on arm apparently doesn't define _REENTRANT -// so just turn on threading support whenever the std lib is thread safe: -# define BOOST_HAS_THREADS -#endif - -#if !defined(_GLIBCPP_USE_LONG_LONG) \ - && !defined(_GLIBCXX_USE_LONG_LONG)\ - && defined(BOOST_HAS_LONG_LONG) -// May have been set by compiler/*.hpp, but "long long" without library -// support is useless. -# undef BOOST_HAS_LONG_LONG -#endif - -// Apple doesn't seem to reliably defined a *unix* macro -#if !defined(CYGWIN) && ( defined(__unix__) \ - || defined(__unix) \ - || defined(unix) \ - || defined(__APPLE__) \ - || defined(__APPLE) \ - || defined(APPLE)) -# include -#endif - -#if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0 -# define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx -# define BOOST_HAS_SLIST -# define BOOST_HAS_HASH -# define BOOST_SLIST_HEADER -# if !defined(__GNUC__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 3) -# define BOOST_HASH_SET_HEADER -# define BOOST_HASH_MAP_HEADER -# else -# define BOOST_HASH_SET_HEADER -# define BOOST_HASH_MAP_HEADER -# endif -#endif - -// stdlibc++ C++0x support is detected via __GNUC__, __GNUC_MINOR__, and possibly -// __GNUC_PATCHLEVEL__ at the suggestion of Jonathan Wakely, one of the stdlibc++ -// developers. He also commented: -// -// "I'm not sure how useful __GLIBCXX__ is for your purposes, for instance in -// GCC 4.2.4 it is set to 20080519 but in GCC 4.3.0 it is set to 20080305. -// Although 4.3.0 was released earlier than 4.2.4, it has better C++0x support -// than any release in the 4.2 series." -// -// Another resource for understanding stdlibc++ features is: -// http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#manual.intro.status.standard.200x - -// C++0x headers in GCC 4.3.0 and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 3) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_HDR_FUNCTIONAL -#endif - -// C++0x headers in GCC 4.4.0 and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_SMART_PTR -#else -# define BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG -# define BOOST_HAS_TR1_COMPLEX_OVERLOADS -#endif - -#if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1)) && (!defined(BOOST_NO_CXX11_HDR_CONDITION_VARIABLE) || !defined(BOOST_NO_CXX11_HDR_MUTEX)) -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_MUTEX -#endif - -// C++0x features in GCC 4.5.0 and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_RANDOM -#endif - -// C++0x features in GCC 4.6.0 and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_CXX11_HDR_TYPEINDEX -#endif - -// C++0x features in GCC 4.7.0 and later -// -#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -// Note that although existed prior to 4.7, "stead_clock" is spelled "monotonic_clock" -// so 4.7.0 is the first truely conforming one. -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_ALLOCATOR -#endif -// C++0x headers not yet (fully!) implemented -// -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR - -// --- end --- diff --git a/src/boost/boost/config/stdlib/modena.hpp b/src/boost/boost/config/stdlib/modena.hpp deleted file mode 100644 index b483b6e..0000000 --- a/src/boost/boost/config/stdlib/modena.hpp +++ /dev/null @@ -1,56 +0,0 @@ -// (C) Copyright Jens Maurer 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Modena C++ standard library (comes with KAI C++) - -#if !defined(MSIPL_COMPILE_H) -# include -# if !defined(__MSIPL_COMPILE_H) -# error "This is not the Modena C++ library!" -# endif -#endif - -#ifndef MSIPL_NL_TYPES -#define BOOST_NO_STD_MESSAGES -#endif - -#ifndef MSIPL_WCHART -#define BOOST_NO_STD_WSTRING -#endif - -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - -#define BOOST_STDLIB "Modena C++ standard library" - - - - - diff --git a/src/boost/boost/config/stdlib/msl.hpp b/src/boost/boost/config/stdlib/msl.hpp deleted file mode 100644 index 4f9a2da..0000000 --- a/src/boost/boost/config/stdlib/msl.hpp +++ /dev/null @@ -1,84 +0,0 @@ -// (C) Copyright John Maddock 2001. -// (C) Copyright Darin Adler 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Metrowerks standard library: - -#ifndef __MSL_CPP__ -# include -# ifndef __MSL_CPP__ -# error This is not the MSL standard library! -# endif -#endif - -#if __MSL_CPP__ >= 0x6000 // Pro 6 -# define BOOST_HAS_HASH -# define BOOST_STD_EXTENSION_NAMESPACE Metrowerks -#endif -#define BOOST_HAS_SLIST - -#if __MSL_CPP__ < 0x6209 -# define BOOST_NO_STD_MESSAGES -#endif - -// check C lib version for -#include - -#if defined(__MSL__) && (__MSL__ >= 0x5000) -# define BOOST_HAS_STDINT_H -# if !defined(__PALMOS_TRAPS__) -# define BOOST_HAS_UNISTD_H -# endif - // boilerplate code: -# include -#endif - -#if defined(_MWMT) || _MSL_THREADSAFE -# define BOOST_HAS_THREADS -#endif - -#ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG -# define BOOST_NO_STD_USE_FACET -# define BOOST_HAS_TWO_ARG_USE_FACET -#endif - -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - -#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__) - - - - - - - - - diff --git a/src/boost/boost/config/stdlib/roguewave.hpp b/src/boost/boost/config/stdlib/roguewave.hpp deleted file mode 100644 index cb80f57..0000000 --- a/src/boost/boost/config/stdlib/roguewave.hpp +++ /dev/null @@ -1,186 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Jens Maurer 2001. -// (C) Copyright David Abrahams 2003. -// (C) Copyright Boris Gubenko 2007. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// Rogue Wave std lib: - -#define BOOST_RW_STDLIB 1 - -#if !defined(__STD_RWCOMPILER_H__) && !defined(_RWSTD_VER) -# include -# if !defined(__STD_RWCOMPILER_H__) && !defined(_RWSTD_VER) -# error This is not the Rogue Wave standard library -# endif -#endif -// -// figure out a consistent version number: -// -#ifndef _RWSTD_VER -# define BOOST_RWSTD_VER 0x010000 -#elif _RWSTD_VER < 0x010000 -# define BOOST_RWSTD_VER (_RWSTD_VER << 8) -#else -# define BOOST_RWSTD_VER _RWSTD_VER -#endif - -#ifndef _RWSTD_VER -# define BOOST_STDLIB "Rogue Wave standard library version (Unknown version)" -#elif _RWSTD_VER < 0x04010200 - # define BOOST_STDLIB "Rogue Wave standard library version " BOOST_STRINGIZE(_RWSTD_VER) -#else -# ifdef _RWSTD_VER_STR -# define BOOST_STDLIB "Apache STDCXX standard library version " _RWSTD_VER_STR -# else -# define BOOST_STDLIB "Apache STDCXX standard library version " BOOST_STRINGIZE(_RWSTD_VER) -# endif -#endif - -// -// Prior to version 2.2.0 the primary template for std::numeric_limits -// does not have compile time constants, even though specializations of that -// template do: -// -#if BOOST_RWSTD_VER < 0x020200 -# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -#endif - -// Sun CC 5.5 patch 113817-07 adds long long specialization, but does not change the -// library version number (http://sunsolve6.sun.com/search/document.do?assetkey=1-21-113817): -#if BOOST_RWSTD_VER <= 0x020101 && (!defined(__SUNPRO_CC) || (__SUNPRO_CC < 0x550)) -# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS -# endif - -// -// Borland version of numeric_limits lacks __int64 specialisation: -// -#ifdef __BORLANDC__ -# define BOOST_NO_MS_INT64_NUMERIC_LIMITS -#endif - -// -// No std::iterator if it can't figure out default template args: -// -#if defined(_RWSTD_NO_SIMPLE_DEFAULT_TEMPLATES) || defined(RWSTD_NO_SIMPLE_DEFAULT_TEMPLATES) || (BOOST_RWSTD_VER < 0x020000) -# define BOOST_NO_STD_ITERATOR -#endif - -// -// No iterator traits without partial specialization: -// -#if defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) || defined(RWSTD_NO_CLASS_PARTIAL_SPEC) -# define BOOST_NO_STD_ITERATOR_TRAITS -#endif - -// -// Prior to version 2.0, std::auto_ptr was buggy, and there were no -// new-style iostreams, and no conformant std::allocator: -// -#if (BOOST_RWSTD_VER < 0x020000) -# define BOOST_NO_AUTO_PTR -# define BOOST_NO_STRINGSTREAM -# define BOOST_NO_STD_ALLOCATOR -# define BOOST_NO_STD_LOCALE -#endif - -// -// No template iterator constructors without member template support: -// -#if defined(RWSTD_NO_MEMBER_TEMPLATES) || defined(_RWSTD_NO_MEMBER_TEMPLATES) -# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS -#endif - -// -// RW defines _RWSTD_ALLOCATOR if the allocator is conformant and in use -// (the or _HPACC_ part is a hack - the library seems to define _RWSTD_ALLOCATOR -// on HP aCC systems even though the allocator is in fact broken): -// -#if !defined(_RWSTD_ALLOCATOR) || (defined(__HP_aCC) && __HP_aCC <= 33100) -# define BOOST_NO_STD_ALLOCATOR -#endif - -// -// If we have a std::locale, we still may not have std::use_facet: -// -#if defined(_RWSTD_NO_TEMPLATE_ON_RETURN_TYPE) && !defined(BOOST_NO_STD_LOCALE) -# define BOOST_NO_STD_USE_FACET -# define BOOST_HAS_TWO_ARG_USE_FACET -#endif - -// -// There's no std::distance prior to version 2, or without -// partial specialization support: -// -#if (BOOST_RWSTD_VER < 0x020000) || defined(_RWSTD_NO_CLASS_PARTIAL_SPEC) - #define BOOST_NO_STD_DISTANCE -#endif - -// -// Some versions of the rogue wave library don't have assignable -// OutputIterators: -// -#if BOOST_RWSTD_VER < 0x020100 -# define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN -#endif - -// -// Disable BOOST_HAS_LONG_LONG when the library has no support for it. -// -#if !defined(_RWSTD_LONG_LONG) && defined(BOOST_HAS_LONG_LONG) -# undef BOOST_HAS_LONG_LONG -#endif - -// -// check that on HP-UX, the proper RW library is used -// -#if defined(__HP_aCC) && !defined(_HP_NAMESPACE_STD) -# error "Boost requires Standard RW library. Please compile and link with -AA" -#endif - -// -// Define macros specific to RW V2.2 on HP-UX -// -#if defined(__HP_aCC) && (BOOST_RWSTD_VER == 0x02020100) -# ifndef __HP_TC1_MAKE_PAIR -# define __HP_TC1_MAKE_PAIR -# endif -# ifndef _HP_INSTANTIATE_STD2_VL -# define _HP_INSTANTIATE_STD2_VL -# endif -#endif - -#if _RWSTD_VER < 0x05000000 -# define BOOST_NO_CXX11_HDR_ARRAY -#endif -// type_traits header is incomplete: -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -// -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - diff --git a/src/boost/boost/config/stdlib/sgi.hpp b/src/boost/boost/config/stdlib/sgi.hpp deleted file mode 100644 index ae9b6ad..0000000 --- a/src/boost/boost/config/stdlib/sgi.hpp +++ /dev/null @@ -1,148 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2003. -// (C) Copyright Darin Adler 2001. -// (C) Copyright Jens Maurer 2001 - 2003. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// generic SGI STL: - -#if !defined(__STL_CONFIG_H) -# include -# if !defined(__STL_CONFIG_H) -# error "This is not the SGI STL!" -# endif -#endif - -// -// No std::iterator traits without partial specialisation: -// -#if !defined(__STL_CLASS_PARTIAL_SPECIALIZATION) -# define BOOST_NO_STD_ITERATOR_TRAITS -#endif - -// -// No std::stringstream with gcc < 3 -// -#if defined(__GNUC__) && (__GNUC__ < 3) && \ - ((__GNUC_MINOR__ < 95) || (__GNUC_MINOR__ == 96)) && \ - !defined(__STL_USE_NEW_IOSTREAMS) || \ - defined(__APPLE_CC__) - // Note that we only set this for GNU C++ prior to 2.95 since the - // latest patches for that release do contain a minimal - // If you are running a 2.95 release prior to 2.95.3 then this will need - // setting, but there is no way to detect that automatically (other - // than by running the configure script). - // Also, the unofficial GNU C++ 2.96 included in RedHat 7.1 doesn't - // have . -# define BOOST_NO_STRINGSTREAM -#endif - -// Apple doesn't seem to reliably defined a *unix* macro -#if !defined(CYGWIN) && ( defined(__unix__) \ - || defined(__unix) \ - || defined(unix) \ - || defined(__APPLE__) \ - || defined(__APPLE) \ - || defined(APPLE)) -# include -#endif - - -// -// Assume no std::locale without own iostreams (this may be an -// incorrect assumption in some cases): -// -#if !defined(__SGI_STL_OWN_IOSTREAMS) && !defined(__STL_USE_NEW_IOSTREAMS) -# define BOOST_NO_STD_LOCALE -#endif - -// -// Original native SGI streams have non-standard std::messages facet: -// -#if defined(__sgi) && (_COMPILER_VERSION <= 650) && !defined(__SGI_STL_OWN_IOSTREAMS) -# define BOOST_NO_STD_LOCALE -#endif - -// -// SGI's new iostreams have missing "const" in messages<>::open -// -#if defined(__sgi) && (_COMPILER_VERSION <= 740) && defined(__STL_USE_NEW_IOSTREAMS) -# define BOOST_NO_STD_MESSAGES -#endif - -// -// No template iterator constructors, or std::allocator -// without member templates: -// -#if !defined(__STL_MEMBER_TEMPLATES) -# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS -# define BOOST_NO_STD_ALLOCATOR -#endif - -// -// We always have SGI style hash_set, hash_map, and slist: -// -#define BOOST_HAS_HASH -#define BOOST_HAS_SLIST - -// -// If this is GNU libstdc++2, then no and no std::wstring: -// -#if (defined(__GNUC__) && (__GNUC__ < 3)) -# include -# if defined(__BASTRING__) -# define BOOST_NO_LIMITS -// Note: will provide compile-time constants -# undef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -# define BOOST_NO_STD_WSTRING -# endif -#endif - -// -// There is no standard iterator unless we have namespace support: -// -#if !defined(__STL_USE_NAMESPACES) -# define BOOST_NO_STD_ITERATOR -#endif - -// -// Intrinsic type_traits support. -// The SGI STL has it's own __type_traits class, which -// has intrinsic compiler support with SGI's compilers. -// Whatever map SGI style type traits to boost equivalents: -// -#define BOOST_HAS_SGI_TYPE_TRAITS - -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - -#define BOOST_STDLIB "SGI standard library" - - - diff --git a/src/boost/boost/config/stdlib/stlport.hpp b/src/boost/boost/config/stdlib/stlport.hpp deleted file mode 100644 index bcc30b9..0000000 --- a/src/boost/boost/config/stdlib/stlport.hpp +++ /dev/null @@ -1,243 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2002. -// (C) Copyright Darin Adler 2001. -// (C) Copyright Jens Maurer 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -// STLPort standard library config: - -#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) -# include -# if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) -# error "This is not STLPort!" -# endif -#endif - -// Apple doesn't seem to reliably defined a *unix* macro -#if !defined(CYGWIN) && ( defined(__unix__) \ - || defined(__unix) \ - || defined(unix) \ - || defined(__APPLE__) \ - || defined(__APPLE) \ - || defined(APPLE)) -# include -#endif - -// -// __STL_STATIC_CONST_INIT_BUG implies BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -// for versions prior to 4.1(beta) -// -#if (defined(__STL_STATIC_CONST_INIT_BUG) || defined(_STLP_STATIC_CONST_INIT_BUG)) && (__SGI_STL_PORT <= 0x400) -# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -#endif - -// -// If STLport thinks that there is no partial specialisation, then there is no -// std::iterator traits: -// -#if !(defined(_STLP_CLASS_PARTIAL_SPECIALIZATION) || defined(__STL_CLASS_PARTIAL_SPECIALIZATION)) -# define BOOST_NO_STD_ITERATOR_TRAITS -#endif - -// -// No new style iostreams on GCC without STLport's iostreams enabled: -// -#if (defined(__GNUC__) && (__GNUC__ < 3)) && !(defined(__SGI_STL_OWN_IOSTREAMS) || defined(_STLP_OWN_IOSTREAMS)) -# define BOOST_NO_STRINGSTREAM -#endif - -// -// No new iostreams implies no std::locale, and no std::stringstream: -// -#if defined(__STL_NO_IOSTREAMS) || defined(__STL_NO_NEW_IOSTREAMS) || defined(_STLP_NO_IOSTREAMS) || defined(_STLP_NO_NEW_IOSTREAMS) -# define BOOST_NO_STD_LOCALE -# define BOOST_NO_STRINGSTREAM -#endif - -// -// If the streams are not native, and we have a "using ::x" compiler bug -// then the io stream facets are not available in namespace std:: -// -#ifdef _STLPORT_VERSION -# if !(_STLPORT_VERSION >= 0x500) && !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE) && !defined(__BORLANDC__) -# define BOOST_NO_STD_LOCALE -# endif -#else -# if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE) && !defined(__BORLANDC__) -# define BOOST_NO_STD_LOCALE -# endif -#endif - -#if defined(_STLPORT_VERSION) && (_STLPORT_VERSION >= 0x520) -# define BOOST_HAS_TR1_UNORDERED_SET -# define BOOST_HAS_TR1_UNORDERED_MAP -#endif -// -// Without member template support enabled, their are no template -// iterate constructors, and no std::allocator: -// -#if !(defined(__STL_MEMBER_TEMPLATES) || defined(_STLP_MEMBER_TEMPLATES)) -# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS -# define BOOST_NO_STD_ALLOCATOR -#endif -// -// however we always have at least a partial allocator: -// -#define BOOST_HAS_PARTIAL_STD_ALLOCATOR - -#if !defined(_STLP_MEMBER_TEMPLATE_CLASSES) || defined(_STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE) -# define BOOST_NO_STD_ALLOCATOR -#endif - -#if defined(_STLP_NO_MEMBER_TEMPLATE_KEYWORD) && defined(BOOST_MSVC) && (BOOST_MSVC <= 1300) -# define BOOST_NO_STD_ALLOCATOR -#endif - -// -// If STLport thinks there is no wchar_t at all, then we have to disable -// the support for the relevant specilazations of std:: templates. -// -#if !defined(_STLP_HAS_WCHAR_T) && !defined(_STLP_WCHAR_T_IS_USHORT) -# ifndef BOOST_NO_STD_WSTRING -# define BOOST_NO_STD_WSTRING -# endif -# ifndef BOOST_NO_STD_WSTREAMBUF -# define BOOST_NO_STD_WSTREAMBUF -# endif -#endif - -// -// We always have SGI style hash_set, hash_map, and slist: -// -#ifndef _STLP_NO_EXTENSIONS -#define BOOST_HAS_HASH -#define BOOST_HAS_SLIST -#endif - -// -// STLport does a good job of importing names into namespace std::, -// but doesn't always get them all, define BOOST_NO_STDC_NAMESPACE, since our -// workaround does not conflict with STLports: -// -// -// Harold Howe says: -// Borland switched to STLport in BCB6. Defining BOOST_NO_STDC_NAMESPACE with -// BCB6 does cause problems. If we detect C++ Builder, then don't define -// BOOST_NO_STDC_NAMESPACE -// -#if !defined(__BORLANDC__) && !defined(__DMC__) -// -// If STLport is using it's own namespace, and the real names are in -// the global namespace, then we duplicate STLport's using declarations -// (by defining BOOST_NO_STDC_NAMESPACE), we do this because STLport doesn't -// necessarily import all the names we need into namespace std:: -// -# if (defined(__STL_IMPORT_VENDOR_CSTD) \ - || defined(__STL_USE_OWN_NAMESPACE) \ - || defined(_STLP_IMPORT_VENDOR_CSTD) \ - || defined(_STLP_USE_OWN_NAMESPACE)) \ - && (defined(__STL_VENDOR_GLOBAL_CSTD) || defined (_STLP_VENDOR_GLOBAL_CSTD)) -# define BOOST_NO_STDC_NAMESPACE -# define BOOST_NO_EXCEPTION_STD_NAMESPACE -# endif -#elif defined(__BORLANDC__) && __BORLANDC__ < 0x560 -// STLport doesn't import std::abs correctly: -#include -namespace std { using ::abs; } -// and strcmp/strcpy don't get imported either ('cos they are macros) -#include -#ifdef strcpy -# undef strcpy -#endif -#ifdef strcmp -# undef strcmp -#endif -#ifdef _STLP_VENDOR_CSTD -namespace std{ using _STLP_VENDOR_CSTD::strcmp; using _STLP_VENDOR_CSTD::strcpy; } -#endif -#endif - -// -// std::use_facet may be non-standard, uses a class instead: -// -#if defined(__STL_NO_EXPLICIT_FUNCTION_TMPL_ARGS) || defined(_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS) -# define BOOST_NO_STD_USE_FACET -# define BOOST_HAS_STLP_USE_FACET -#endif - -// -// If STLport thinks there are no wide functions, etc. is not working; but -// only if BOOST_NO_STDC_NAMESPACE is not defined (if it is then we do the import -// into std:: ourselves). -// -#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS) && !defined(BOOST_NO_STDC_NAMESPACE) -# define BOOST_NO_CWCHAR -# define BOOST_NO_CWCTYPE -#endif - -// -// If STLport for some reason was configured so that it thinks that wchar_t -// is not an intrinsic type, then we have to disable the support for it as -// well (we would be missing required specializations otherwise). -// -#if !defined( _STLP_HAS_WCHAR_T) || defined(_STLP_WCHAR_T_IS_USHORT) -# undef BOOST_NO_INTRINSIC_WCHAR_T -# define BOOST_NO_INTRINSIC_WCHAR_T -#endif - -// -// Borland ships a version of STLport with C++ Builder 6 that lacks -// hashtables and the like: -// -#if defined(__BORLANDC__) && (__BORLANDC__ == 0x560) -# undef BOOST_HAS_HASH -#endif - -// -// gcc-2.95.3/STLPort does not like the using declarations we use to get ADL with std::min/max -// -#if defined(__GNUC__) && (__GNUC__ < 3) -# include // for std::min and std::max -# define BOOST_USING_STD_MIN() ((void)0) -# define BOOST_USING_STD_MAX() ((void)0) -namespace boost { using std::min; using std::max; } -#endif - -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - -#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT) - - - - - - - - diff --git a/src/boost/boost/config/stdlib/vacpp.hpp b/src/boost/boost/config/stdlib/vacpp.hpp deleted file mode 100644 index 9d16946..0000000 --- a/src/boost/boost/config/stdlib/vacpp.hpp +++ /dev/null @@ -1,54 +0,0 @@ -// (C) Copyright John Maddock 2001 - 2002. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org for most recent version. - -#if __IBMCPP__ <= 501 -# define BOOST_NO_STD_ALLOCATOR -#endif - -#define BOOST_HAS_MACRO_USE_FACET -#define BOOST_NO_STD_MESSAGES - -// Apple doesn't seem to reliably defined a *unix* macro -#if !defined(CYGWIN) && ( defined(__unix__) \ - || defined(__unix) \ - || defined(unix) \ - || defined(__APPLE__) \ - || defined(__APPLE) \ - || defined(APPLE)) -# include -#endif - -// C++0x headers not yet implemented -// -# define BOOST_NO_CXX11_HDR_ARRAY -# define BOOST_NO_CXX11_HDR_CHRONO -# define BOOST_NO_CXX11_HDR_CODECVT -# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE -# define BOOST_NO_CXX11_HDR_FORWARD_LIST -# define BOOST_NO_CXX11_HDR_FUTURE -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_CXX11_HDR_MUTEX -# define BOOST_NO_CXX11_HDR_RANDOM -# define BOOST_NO_CXX11_HDR_RATIO -# define BOOST_NO_CXX11_HDR_REGEX -# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_CXX11_HDR_THREAD -# define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_CXX11_HDR_TYPE_TRAITS -# define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_CXX11_HDR_UNORDERED_MAP -# define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_CXX11_NUMERIC_LIMITS -# define BOOST_NO_CXX11_ALLOCATOR -# define BOOST_NO_CXX11_ATOMIC_SMART_PTR -# define BOOST_NO_CXX11_SMART_PTR -# define BOOST_NO_CXX11_HDR_FUNCTIONAL - -#define BOOST_STDLIB "Visual Age default standard library" - - - diff --git a/src/boost/boost/config/suffix.hpp b/src/boost/boost/config/suffix.hpp deleted file mode 100644 index 8ee88d9..0000000 --- a/src/boost/boost/config/suffix.hpp +++ /dev/null @@ -1,920 +0,0 @@ -// Boost config.hpp configuration header file ------------------------------// -// boostinspect:ndprecated_macros -- tell the inspect tool to ignore this file - -// Copyright (c) 2001-2003 John Maddock -// Copyright (c) 2001 Darin Adler -// Copyright (c) 2001 Peter Dimov -// Copyright (c) 2002 Bill Kempf -// Copyright (c) 2002 Jens Maurer -// Copyright (c) 2002-2003 David Abrahams -// Copyright (c) 2003 Gennaro Prota -// Copyright (c) 2003 Eric Friedman -// Copyright (c) 2010 Eric Jourdanneau, Joel Falcou -// Distributed under the Boost Software License, Version 1.0. (See -// accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org/ for most recent version. - -// Boost config.hpp policy and rationale documentation has been moved to -// http://www.boost.org/libs/config/ -// -// This file is intended to be stable, and relatively unchanging. -// It should contain boilerplate code only - no compiler specific -// code unless it is unavoidable - no changes unless unavoidable. - -#ifndef BOOST_CONFIG_SUFFIX_HPP -#define BOOST_CONFIG_SUFFIX_HPP - -#if defined(__GNUC__) && (__GNUC__ >= 4) -// -// Some GCC-4.x versions issue warnings even when __extension__ is used, -// so use this as a workaround: -// -#pragma GCC system_header -#endif - -// -// ensure that visibility macros are always defined, thus symplifying use -// -#ifndef BOOST_SYMBOL_EXPORT -# define BOOST_SYMBOL_EXPORT -#endif -#ifndef BOOST_SYMBOL_IMPORT -# define BOOST_SYMBOL_IMPORT -#endif -#ifndef BOOST_SYMBOL_VISIBLE -# define BOOST_SYMBOL_VISIBLE -#endif - -// -// look for long long by looking for the appropriate macros in . -// Note that we use limits.h rather than climits for maximal portability, -// remember that since these just declare a bunch of macros, there should be -// no namespace issues from this. -// -#if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_LONG_LONG) \ - && !defined(BOOST_MSVC) && !defined(__BORLANDC__) -# include -# if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX)) -# define BOOST_HAS_LONG_LONG -# else -# define BOOST_NO_LONG_LONG -# endif -#endif - -// GCC 3.x will clean up all of those nasty macro definitions that -// BOOST_NO_CTYPE_FUNCTIONS is intended to help work around, so undefine -// it under GCC 3.x. -#if defined(__GNUC__) && (__GNUC__ >= 3) && defined(BOOST_NO_CTYPE_FUNCTIONS) -# undef BOOST_NO_CTYPE_FUNCTIONS -#endif - -// -// Assume any extensions are in namespace std:: unless stated otherwise: -// -# ifndef BOOST_STD_EXTENSION_NAMESPACE -# define BOOST_STD_EXTENSION_NAMESPACE std -# endif - -// -// If cv-qualified specializations are not allowed, then neither are cv-void ones: -// -# if defined(BOOST_NO_CV_SPECIALIZATIONS) \ - && !defined(BOOST_NO_CV_VOID_SPECIALIZATIONS) -# define BOOST_NO_CV_VOID_SPECIALIZATIONS -# endif - -// -// If there is no numeric_limits template, then it can't have any compile time -// constants either! -// -# if defined(BOOST_NO_LIMITS) \ - && !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) -# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS -# define BOOST_NO_MS_INT64_NUMERIC_LIMITS -# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS -# endif - -// -// if there is no long long then there is no specialisation -// for numeric_limits either: -// -#if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_LONG_LONG_NUMERIC_LIMITS) -# define BOOST_NO_LONG_LONG_NUMERIC_LIMITS -#endif - -// -// if there is no __int64 then there is no specialisation -// for numeric_limits<__int64> either: -// -#if !defined(BOOST_HAS_MS_INT64) && !defined(BOOST_NO_MS_INT64_NUMERIC_LIMITS) -# define BOOST_NO_MS_INT64_NUMERIC_LIMITS -#endif - -// -// if member templates are supported then so is the -// VC6 subset of member templates: -// -# if !defined(BOOST_NO_MEMBER_TEMPLATES) \ - && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) -# define BOOST_MSVC6_MEMBER_TEMPLATES -# endif - -// -// Without partial specialization, can't test for partial specialisation bugs: -// -# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ - && !defined(BOOST_BCB_PARTIAL_SPECIALIZATION_BUG) -# define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG -# endif - -// -// Without partial specialization, we can't have array-type partial specialisations: -// -# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ - && !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS) -# define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS -# endif - -// -// Without partial specialization, std::iterator_traits can't work: -// -# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ - && !defined(BOOST_NO_STD_ITERATOR_TRAITS) -# define BOOST_NO_STD_ITERATOR_TRAITS -# endif - -// -// Without partial specialization, partial -// specialization with default args won't work either: -// -# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \ - && !defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS) -# define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS -# endif - -// -// Without member template support, we can't have template constructors -// in the standard library either: -// -# if defined(BOOST_NO_MEMBER_TEMPLATES) \ - && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) \ - && !defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS) -# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS -# endif - -// -// Without member template support, we can't have a conforming -// std::allocator template either: -// -# if defined(BOOST_NO_MEMBER_TEMPLATES) \ - && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) \ - && !defined(BOOST_NO_STD_ALLOCATOR) -# define BOOST_NO_STD_ALLOCATOR -# endif - -// -// without ADL support then using declarations will break ADL as well: -// -#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) -# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL -#endif - -// -// Without typeid support we have no dynamic RTTI either: -// -#if defined(BOOST_NO_TYPEID) && !defined(BOOST_NO_RTTI) -# define BOOST_NO_RTTI -#endif - -// -// If we have a standard allocator, then we have a partial one as well: -// -#if !defined(BOOST_NO_STD_ALLOCATOR) -# define BOOST_HAS_PARTIAL_STD_ALLOCATOR -#endif - -// -// We can't have a working std::use_facet if there is no std::locale: -// -# if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_USE_FACET) -# define BOOST_NO_STD_USE_FACET -# endif - -// -// We can't have a std::messages facet if there is no std::locale: -// -# if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_MESSAGES) -# define BOOST_NO_STD_MESSAGES -# endif - -// -// We can't have a working std::wstreambuf if there is no std::locale: -// -# if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_WSTREAMBUF) -# define BOOST_NO_STD_WSTREAMBUF -# endif - -// -// We can't have a if there is no : -// -# if defined(BOOST_NO_CWCHAR) && !defined(BOOST_NO_CWCTYPE) -# define BOOST_NO_CWCTYPE -# endif - -// -// We can't have a swprintf if there is no : -// -# if defined(BOOST_NO_CWCHAR) && !defined(BOOST_NO_SWPRINTF) -# define BOOST_NO_SWPRINTF -# endif - -// -// If Win32 support is turned off, then we must turn off -// threading support also, unless there is some other -// thread API enabled: -// -#if defined(BOOST_DISABLE_WIN32) && defined(_WIN32) \ - && !defined(BOOST_DISABLE_THREADS) && !defined(BOOST_HAS_PTHREADS) -# define BOOST_DISABLE_THREADS -#endif - -// -// Turn on threading support if the compiler thinks that it's in -// multithreaded mode. We put this here because there are only a -// limited number of macros that identify this (if there's any missing -// from here then add to the appropriate compiler section): -// -#if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \ - || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \ - && !defined(BOOST_HAS_THREADS) -# define BOOST_HAS_THREADS -#endif - -// -// Turn threading support off if BOOST_DISABLE_THREADS is defined: -// -#if defined(BOOST_DISABLE_THREADS) && defined(BOOST_HAS_THREADS) -# undef BOOST_HAS_THREADS -#endif - -// -// Turn threading support off if we don't recognise the threading API: -// -#if defined(BOOST_HAS_THREADS) && !defined(BOOST_HAS_PTHREADS)\ - && !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_BETHREADS)\ - && !defined(BOOST_HAS_MPTASKS) -# undef BOOST_HAS_THREADS -#endif - -// -// Turn threading detail macros off if we don't (want to) use threading -// -#ifndef BOOST_HAS_THREADS -# undef BOOST_HAS_PTHREADS -# undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE -# undef BOOST_HAS_PTHREAD_YIELD -# undef BOOST_HAS_PTHREAD_DELAY_NP -# undef BOOST_HAS_WINTHREADS -# undef BOOST_HAS_BETHREADS -# undef BOOST_HAS_MPTASKS -#endif - -// -// If the compiler claims to be C99 conformant, then it had better -// have a : -// -# if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901) -# define BOOST_HAS_STDINT_H -# ifndef BOOST_HAS_LOG1P -# define BOOST_HAS_LOG1P -# endif -# ifndef BOOST_HAS_EXPM1 -# define BOOST_HAS_EXPM1 -# endif -# endif - -// -// Define BOOST_NO_SLIST and BOOST_NO_HASH if required. -// Note that this is for backwards compatibility only. -// -# if !defined(BOOST_HAS_SLIST) && !defined(BOOST_NO_SLIST) -# define BOOST_NO_SLIST -# endif - -# if !defined(BOOST_HAS_HASH) && !defined(BOOST_NO_HASH) -# define BOOST_NO_HASH -# endif - -// -// Set BOOST_SLIST_HEADER if not set already: -// -#if defined(BOOST_HAS_SLIST) && !defined(BOOST_SLIST_HEADER) -# define BOOST_SLIST_HEADER -#endif - -// -// Set BOOST_HASH_SET_HEADER if not set already: -// -#if defined(BOOST_HAS_HASH) && !defined(BOOST_HASH_SET_HEADER) -# define BOOST_HASH_SET_HEADER -#endif - -// -// Set BOOST_HASH_MAP_HEADER if not set already: -// -#if defined(BOOST_HAS_HASH) && !defined(BOOST_HASH_MAP_HEADER) -# define BOOST_HASH_MAP_HEADER -#endif - -// BOOST_HAS_ABI_HEADERS -// This macro gets set if we have headers that fix the ABI, -// and prevent ODR violations when linking to external libraries: -#if defined(BOOST_ABI_PREFIX) && defined(BOOST_ABI_SUFFIX) && !defined(BOOST_HAS_ABI_HEADERS) -# define BOOST_HAS_ABI_HEADERS -#endif - -#if defined(BOOST_HAS_ABI_HEADERS) && defined(BOOST_DISABLE_ABI_HEADERS) -# undef BOOST_HAS_ABI_HEADERS -#endif - -// BOOST_NO_STDC_NAMESPACE workaround --------------------------------------// -// Because std::size_t usage is so common, even in boost headers which do not -// otherwise use the C library, the workaround is included here so -// that ugly workaround code need not appear in many other boost headers. -// NOTE WELL: This is a workaround for non-conforming compilers; -// must still be #included in the usual places so that inclusion -// works as expected with standard conforming compilers. The resulting -// double inclusion of is harmless. - -# if defined(BOOST_NO_STDC_NAMESPACE) && defined(__cplusplus) -# include - namespace std { using ::ptrdiff_t; using ::size_t; } -# endif - -// Workaround for the unfortunate min/max macros defined by some platform headers - -#define BOOST_PREVENT_MACRO_SUBSTITUTION - -#ifndef BOOST_USING_STD_MIN -# define BOOST_USING_STD_MIN() using std::min -#endif - -#ifndef BOOST_USING_STD_MAX -# define BOOST_USING_STD_MAX() using std::max -#endif - -// BOOST_NO_STD_MIN_MAX workaround -----------------------------------------// - -# if defined(BOOST_NO_STD_MIN_MAX) && defined(__cplusplus) - -namespace std { - template - inline const _Tp& min BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) { - return __b < __a ? __b : __a; - } - template - inline const _Tp& max BOOST_PREVENT_MACRO_SUBSTITUTION (const _Tp& __a, const _Tp& __b) { - return __a < __b ? __b : __a; - } -} - -# endif - -// BOOST_STATIC_CONSTANT workaround --------------------------------------- // -// On compilers which don't allow in-class initialization of static integral -// constant members, we must use enums as a workaround if we want the constants -// to be available at compile-time. This macro gives us a convenient way to -// declare such constants. - -# ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION -# define BOOST_STATIC_CONSTANT(type, assignment) enum { assignment } -# else -# define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment -# endif - -// BOOST_USE_FACET / HAS_FACET workaround ----------------------------------// -// When the standard library does not have a conforming std::use_facet there -// are various workarounds available, but they differ from library to library. -// The same problem occurs with has_facet. -// These macros provide a consistent way to access a locale's facets. -// Usage: -// replace -// std::use_facet(loc); -// with -// BOOST_USE_FACET(Type, loc); -// Note do not add a std:: prefix to the front of BOOST_USE_FACET! -// Use for BOOST_HAS_FACET is analogous. - -#if defined(BOOST_NO_STD_USE_FACET) -# ifdef BOOST_HAS_TWO_ARG_USE_FACET -# define BOOST_USE_FACET(Type, loc) std::use_facet(loc, static_cast(0)) -# define BOOST_HAS_FACET(Type, loc) std::has_facet(loc, static_cast(0)) -# elif defined(BOOST_HAS_MACRO_USE_FACET) -# define BOOST_USE_FACET(Type, loc) std::_USE(loc, Type) -# define BOOST_HAS_FACET(Type, loc) std::_HAS(loc, Type) -# elif defined(BOOST_HAS_STLP_USE_FACET) -# define BOOST_USE_FACET(Type, loc) (*std::_Use_facet(loc)) -# define BOOST_HAS_FACET(Type, loc) std::has_facet< Type >(loc) -# endif -#else -# define BOOST_USE_FACET(Type, loc) std::use_facet< Type >(loc) -# define BOOST_HAS_FACET(Type, loc) std::has_facet< Type >(loc) -#endif - -// BOOST_NESTED_TEMPLATE workaround ------------------------------------------// -// Member templates are supported by some compilers even though they can't use -// the A::template member syntax, as a workaround replace: -// -// typedef typename A::template rebind binder; -// -// with: -// -// typedef typename A::BOOST_NESTED_TEMPLATE rebind binder; - -#ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD -# define BOOST_NESTED_TEMPLATE template -#else -# define BOOST_NESTED_TEMPLATE -#endif - -// BOOST_UNREACHABLE_RETURN(x) workaround -------------------------------------// -// Normally evaluates to nothing, unless BOOST_NO_UNREACHABLE_RETURN_DETECTION -// is defined, in which case it evaluates to return x; Use when you have a return -// statement that can never be reached. - -#ifdef BOOST_NO_UNREACHABLE_RETURN_DETECTION -# define BOOST_UNREACHABLE_RETURN(x) return x; -#else -# define BOOST_UNREACHABLE_RETURN(x) -#endif - -// BOOST_DEDUCED_TYPENAME workaround ------------------------------------------// -// -// Some compilers don't support the use of `typename' for dependent -// types in deduced contexts, e.g. -// -// template void f(T, typename T::type); -// ^^^^^^^^ -// Replace these declarations with: -// -// template void f(T, BOOST_DEDUCED_TYPENAME T::type); - -#ifndef BOOST_NO_DEDUCED_TYPENAME -# define BOOST_DEDUCED_TYPENAME typename -#else -# define BOOST_DEDUCED_TYPENAME -#endif - -#ifndef BOOST_NO_TYPENAME_WITH_CTOR -# define BOOST_CTOR_TYPENAME typename -#else -# define BOOST_CTOR_TYPENAME -#endif - -// long long workaround ------------------------------------------// -// On gcc (and maybe other compilers?) long long is alway supported -// but it's use may generate either warnings (with -ansi), or errors -// (with -pedantic -ansi) unless it's use is prefixed by __extension__ -// -#if defined(BOOST_HAS_LONG_LONG) && defined(__cplusplus) -namespace boost{ -# ifdef __GNUC__ - __extension__ typedef long long long_long_type; - __extension__ typedef unsigned long long ulong_long_type; -# else - typedef long long long_long_type; - typedef unsigned long long ulong_long_type; -# endif -} -#endif -// same again for __int128: -#if defined(BOOST_HAS_INT128) && defined(__cplusplus) -namespace boost{ -# ifdef __GNUC__ - __extension__ typedef __int128 int128_type; - __extension__ typedef unsigned __int128 uint128_type; -# else - typedef __int128 int128_type; - typedef unsigned __int128 uint128_type; -# endif -} -#endif - -// BOOST_[APPEND_]EXPLICIT_TEMPLATE_[NON_]TYPE macros --------------------------// -// -// Some compilers have problems with function templates whose template -// parameters don't appear in the function parameter list (basically -// they just link one instantiation of the template in the final -// executable). These macros provide a uniform way to cope with the -// problem with no effects on the calling syntax. - -// Example: -// -// #include -// #include -// #include -// -// template -// void f() { std::cout << n << ' '; } -// -// template -// void g() { std::cout << typeid(T).name() << ' '; } -// -// int main() { -// f<1>(); -// f<2>(); -// -// g(); -// g(); -// } -// -// With VC++ 6.0 the output is: -// -// 2 2 double double -// -// To fix it, write -// -// template -// void f(BOOST_EXPLICIT_TEMPLATE_NON_TYPE(int, n)) { ... } -// -// template -// void g(BOOST_EXPLICIT_TEMPLATE_TYPE(T)) { ... } -// - - -#if defined(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS) && defined(__cplusplus) - -# include "boost/type.hpp" -# include "boost/non_type.hpp" - -# define BOOST_EXPLICIT_TEMPLATE_TYPE(t) boost::type* = 0 -# define BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t) boost::type* -# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v) boost::non_type* = 0 -# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) boost::non_type* - -# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(t) \ - , BOOST_EXPLICIT_TEMPLATE_TYPE(t) -# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(t) \ - , BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t) -# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(t, v) \ - , BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v) -# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) \ - , BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) - -#else - -// no workaround needed: expand to nothing - -# define BOOST_EXPLICIT_TEMPLATE_TYPE(t) -# define BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(t) -# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE(t, v) -# define BOOST_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) - -# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(t) -# define BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(t) -# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(t, v) -# define BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE_SPEC(t, v) - - -#endif // defined BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS - -// When BOOST_NO_STD_TYPEINFO is defined, we can just import -// the global definition into std namespace: -#if defined(BOOST_NO_STD_TYPEINFO) && defined(__cplusplus) -#include -namespace std{ using ::type_info; } -#endif - -// ---------------------------------------------------------------------------// - -// -// Helper macro BOOST_STRINGIZE: -// Converts the parameter X to a string after macro replacement -// on X has been performed. -// -#define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X) -#define BOOST_DO_STRINGIZE(X) #X - -// -// Helper macro BOOST_JOIN: -// The following piece of macro magic joins the two -// arguments together, even when one of the arguments is -// itself a macro (see 16.3.1 in C++ standard). The key -// is that macro expansion of macro arguments does not -// occur in BOOST_DO_JOIN2 but does in BOOST_DO_JOIN. -// -#define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y ) -#define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y) -#define BOOST_DO_JOIN2( X, Y ) X##Y - -// -// Set some default values for compiler/library/platform names. -// These are for debugging config setup only: -// -# ifndef BOOST_COMPILER -# define BOOST_COMPILER "Unknown ISO C++ Compiler" -# endif -# ifndef BOOST_STDLIB -# define BOOST_STDLIB "Unknown ISO standard library" -# endif -# ifndef BOOST_PLATFORM -# if defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) \ - || defined(_POSIX_SOURCE) -# define BOOST_PLATFORM "Generic Unix" -# else -# define BOOST_PLATFORM "Unknown" -# endif -# endif - -// -// Set some default values GPU support -// -# ifndef BOOST_GPU_ENABLED -# define BOOST_GPU_ENABLED -# endif - -// BOOST_FORCEINLINE ---------------------------------------------// -// Macro to use in place of 'inline' to force a function to be inline -#if !defined(BOOST_FORCEINLINE) -# if defined(_MSC_VER) -# define BOOST_FORCEINLINE __forceinline -# elif defined(__GNUC__) && __GNUC__ > 3 -# define BOOST_FORCEINLINE inline __attribute__ ((always_inline)) -# else -# define BOOST_FORCEINLINE inline -# endif -#endif - -// -// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined -// -#if defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_DECLTYPE_N3276) -#define BOOST_NO_CXX11_DECLTYPE_N3276 BOOST_NO_CXX11_DECLTYPE -#endif - -// -------------------- Deprecated macros for 1.50 --------------------------- -// These will go away in a future release - -// Use BOOST_NO_CXX11_HDR_UNORDERED_SET or BOOST_NO_CXX11_HDR_UNORDERED_MAP -// instead of BOOST_NO_STD_UNORDERED -#if defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) || defined (BOOST_NO_CXX11_HDR_UNORDERED_SET) -# ifndef BOOST_NO_CXX11_STD_UNORDERED -# define BOOST_NO_CXX11_STD_UNORDERED -# endif -#endif - -// Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST instead of BOOST_NO_INITIALIZER_LISTS -#if defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) && !defined(BOOST_NO_INITIALIZER_LISTS) -# define BOOST_NO_INITIALIZER_LISTS -#endif - -// Use BOOST_NO_CXX11_HDR_ARRAY instead of BOOST_NO_0X_HDR_ARRAY -#if defined(BOOST_NO_CXX11_HDR_ARRAY) && !defined(BOOST_NO_BOOST_NO_0X_HDR_ARRAY) -# define BOOST_NO_0X_HDR_ARRAY -#endif -// Use BOOST_NO_CXX11_HDR_CHRONO instead of BOOST_NO_0X_HDR_CHRONO -#if defined(BOOST_NO_CXX11_HDR_CHRONO) && !defined(BOOST_NO_0X_HDR_CHRONO) -# define BOOST_NO_0X_HDR_CHRONO -#endif -// Use BOOST_NO_CXX11_HDR_CODECVT instead of BOOST_NO_0X_HDR_CODECVT -#if defined(BOOST_NO_CXX11_HDR_CODECVT) && !defined(BOOST_NO_0X_HDR_CODECVT) -# define BOOST_NO_0X_HDR_CODECVT -#endif -// Use BOOST_NO_CXX11_HDR_CONDITION_VARIABLE instead of BOOST_NO_0X_HDR_CONDITION_VARIABLE -#if defined(BOOST_NO_CXX11_HDR_CONDITION_VARIABLE) && !defined(BOOST_NO_0X_HDR_CONDITION_VARIABLE) -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -#endif -// Use BOOST_NO_CXX11_HDR_FORWARD_LIST instead of BOOST_NO_0X_HDR_FORWARD_LIST -#if defined(BOOST_NO_CXX11_HDR_FORWARD_LIST) && !defined(BOOST_NO_0X_HDR_FORWARD_LIST) -# define BOOST_NO_0X_HDR_FORWARD_LIST -#endif -// Use BOOST_NO_CXX11_HDR_FUTURE instead of BOOST_NO_0X_HDR_FUTURE -#if defined(BOOST_NO_CXX11_HDR_FUTURE) && !defined(BOOST_NO_0X_HDR_FUTURE) -# define BOOST_NO_0X_HDR_FUTURE -#endif - -// Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST -// instead of BOOST_NO_0X_HDR_INITIALIZER_LIST or BOOST_NO_INITIALIZER_LISTS -#ifdef BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# endif -# ifndef BOOST_NO_INITIALIZER_LISTS -# define BOOST_NO_INITIALIZER_LISTS -# endif -#endif - -// Use BOOST_NO_CXX11_HDR_MUTEX instead of BOOST_NO_0X_HDR_MUTEX -#if defined(BOOST_NO_CXX11_HDR_MUTEX) && !defined(BOOST_NO_0X_HDR_MUTEX) -# define BOOST_NO_0X_HDR_MUTEX -#endif -// Use BOOST_NO_CXX11_HDR_RANDOM instead of BOOST_NO_0X_HDR_RANDOM -#if defined(BOOST_NO_CXX11_HDR_RANDOM) && !defined(BOOST_NO_0X_HDR_RANDOM) -# define BOOST_NO_0X_HDR_RANDOM -#endif -// Use BOOST_NO_CXX11_HDR_RATIO instead of BOOST_NO_0X_HDR_RATIO -#if defined(BOOST_NO_CXX11_HDR_RATIO) && !defined(BOOST_NO_0X_HDR_RATIO) -# define BOOST_NO_0X_HDR_RATIO -#endif -// Use BOOST_NO_CXX11_HDR_REGEX instead of BOOST_NO_0X_HDR_REGEX -#if defined(BOOST_NO_CXX11_HDR_REGEX) && !defined(BOOST_NO_0X_HDR_REGEX) -# define BOOST_NO_0X_HDR_REGEX -#endif -// Use BOOST_NO_CXX11_HDR_SYSTEM_ERROR instead of BOOST_NO_0X_HDR_SYSTEM_ERROR -#if defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR) && !defined(BOOST_NO_0X_HDR_SYSTEM_ERROR) -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -#endif -// Use BOOST_NO_CXX11_HDR_THREAD instead of BOOST_NO_0X_HDR_THREAD -#if defined(BOOST_NO_CXX11_HDR_THREAD) && !defined(BOOST_NO_0X_HDR_THREAD) -# define BOOST_NO_0X_HDR_THREAD -#endif -// Use BOOST_NO_CXX11_HDR_TUPLE instead of BOOST_NO_0X_HDR_TUPLE -#if defined(BOOST_NO_CXX11_HDR_TUPLE) && !defined(BOOST_NO_0X_HDR_TUPLE) -# define BOOST_NO_0X_HDR_TUPLE -#endif -// Use BOOST_NO_CXX11_HDR_TYPE_TRAITS instead of BOOST_NO_0X_HDR_TYPE_TRAITS -#if defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS) && !defined(BOOST_NO_0X_HDR_TYPE_TRAITS) -# define BOOST_NO_0X_HDR_TYPE_TRAITS -#endif -// Use BOOST_NO_CXX11_HDR_TYPEINDEX instead of BOOST_NO_0X_HDR_TYPEINDEX -#if defined(BOOST_NO_CXX11_HDR_TYPEINDEX) && !defined(BOOST_NO_0X_HDR_TYPEINDEX) -# define BOOST_NO_0X_HDR_TYPEINDEX -#endif -// Use BOOST_NO_CXX11_HDR_UNORDERED_MAP instead of BOOST_NO_0X_HDR_UNORDERED_MAP -#if defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) && !defined(BOOST_NO_0X_HDR_UNORDERED_MAP) -# define BOOST_NO_0X_HDR_UNORDERED_MAP -#endif -// Use BOOST_NO_CXX11_HDR_UNORDERED_SET instead of BOOST_NO_0X_HDR_UNORDERED_SET -#if defined(BOOST_NO_CXX11_HDR_UNORDERED_SET) && !defined(BOOST_NO_0X_HDR_UNORDERED_SET) -# define BOOST_NO_0X_HDR_UNORDERED_SET -#endif - -// ------------------ End of deprecated macros for 1.50 --------------------------- - -// -------------------- Deprecated macros for 1.51 --------------------------- -// These will go away in a future release - -// Use BOOST_NO_CXX11_AUTO_DECLARATIONS instead of BOOST_NO_AUTO_DECLARATIONS -#if defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) && !defined(BOOST_NO_AUTO_DECLARATIONS) -# define BOOST_NO_AUTO_DECLARATIONS -#endif -// Use BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS instead of BOOST_NO_AUTO_MULTIDECLARATIONS -#if defined(BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS) && !defined(BOOST_NO_AUTO_MULTIDECLARATIONS) -# define BOOST_NO_AUTO_MULTIDECLARATIONS -#endif -// Use BOOST_NO_CXX11_CHAR16_T instead of BOOST_NO_CHAR16_T -#if defined(BOOST_NO_CXX11_CHAR16_T) && !defined(BOOST_NO_CHAR16_T) -# define BOOST_NO_CHAR16_T -#endif -// Use BOOST_NO_CXX11_CHAR32_T instead of BOOST_NO_CHAR32_T -#if defined(BOOST_NO_CXX11_CHAR32_T) && !defined(BOOST_NO_CHAR32_T) -# define BOOST_NO_CHAR32_T -#endif -// Use BOOST_NO_CXX11_TEMPLATE_ALIASES instead of BOOST_NO_TEMPLATE_ALIASES -#if defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !defined(BOOST_NO_TEMPLATE_ALIASES) -# define BOOST_NO_TEMPLATE_ALIASES -#endif -// Use BOOST_NO_CXX11_CONSTEXPR instead of BOOST_NO_CONSTEXPR -#if defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CONSTEXPR) -# define BOOST_NO_CONSTEXPR -#endif -// Use BOOST_NO_CXX11_DECLTYPE_N3276 instead of BOOST_NO_DECLTYPE_N3276 -#if defined(BOOST_NO_CXX11_DECLTYPE_N3276) && !defined(BOOST_NO_DECLTYPE_N3276) -# define BOOST_NO_DECLTYPE_N3276 -#endif -// Use BOOST_NO_CXX11_DECLTYPE instead of BOOST_NO_DECLTYPE -#if defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_DECLTYPE) -# define BOOST_NO_DECLTYPE -#endif -// Use BOOST_NO_CXX11_DEFAULTED_FUNCTIONS instead of BOOST_NO_DEFAULTED_FUNCTIONS -#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && !defined(BOOST_NO_DEFAULTED_FUNCTIONS) -# define BOOST_NO_DEFAULTED_FUNCTIONS -#endif -// Use BOOST_NO_CXX11_DELETED_FUNCTIONS instead of BOOST_NO_DELETED_FUNCTIONS -#if defined(BOOST_NO_CXX11_DELETED_FUNCTIONS) && !defined(BOOST_NO_DELETED_FUNCTIONS) -# define BOOST_NO_DELETED_FUNCTIONS -#endif -// Use BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS instead of BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#if defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) && !defined(BOOST_NO_EXPLICIT_CONVERSION_OPERATORS) -# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#endif -// Use BOOST_NO_CXX11_EXTERN_TEMPLATE instead of BOOST_NO_EXTERN_TEMPLATE -#if defined(BOOST_NO_CXX11_EXTERN_TEMPLATE) && !defined(BOOST_NO_EXTERN_TEMPLATE) -# define BOOST_NO_EXTERN_TEMPLATE -#endif -// Use BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS instead of BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#if defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS) -# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#endif -// Use BOOST_NO_CXX11_LAMBDAS instead of BOOST_NO_LAMBDAS -#if defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS) -# define BOOST_NO_LAMBDAS -#endif -// Use BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS instead of BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#if defined(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS) && !defined(BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS) -# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#endif -// Use BOOST_NO_CXX11_NOEXCEPT instead of BOOST_NO_NOEXCEPT -#if defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_NOEXCEPT) -# define BOOST_NO_NOEXCEPT -#endif -// Use BOOST_NO_CXX11_NULLPTR instead of BOOST_NO_NULLPTR -#if defined(BOOST_NO_CXX11_NULLPTR) && !defined(BOOST_NO_NULLPTR) -# define BOOST_NO_NULLPTR -#endif -// Use BOOST_NO_CXX11_RAW_LITERALS instead of BOOST_NO_RAW_LITERALS -#if defined(BOOST_NO_CXX11_RAW_LITERALS) && !defined(BOOST_NO_RAW_LITERALS) -# define BOOST_NO_RAW_LITERALS -#endif -// Use BOOST_NO_CXX11_RVALUE_REFERENCES instead of BOOST_NO_RVALUE_REFERENCES -#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_RVALUE_REFERENCES) -# define BOOST_NO_RVALUE_REFERENCES -#endif -// Use BOOST_NO_CXX11_SCOPED_ENUMS instead of BOOST_NO_SCOPED_ENUMS -#if defined(BOOST_NO_CXX11_SCOPED_ENUMS) && !defined(BOOST_NO_SCOPED_ENUMS) -# define BOOST_NO_SCOPED_ENUMS -#endif -// Use BOOST_NO_CXX11_STATIC_ASSERT instead of BOOST_NO_STATIC_ASSERT -#if defined(BOOST_NO_CXX11_STATIC_ASSERT) && !defined(BOOST_NO_STATIC_ASSERT) -# define BOOST_NO_STATIC_ASSERT -#endif -// Use BOOST_NO_CXX11_STD_UNORDERED instead of BOOST_NO_STD_UNORDERED -#if defined(BOOST_NO_CXX11_STD_UNORDERED) && !defined(BOOST_NO_STD_UNORDERED) -# define BOOST_NO_STD_UNORDERED -#endif -// Use BOOST_NO_CXX11_UNICODE_LITERALS instead of BOOST_NO_UNICODE_LITERALS -#if defined(BOOST_NO_CXX11_UNICODE_LITERALS) && !defined(BOOST_NO_UNICODE_LITERALS) -# define BOOST_NO_UNICODE_LITERALS -#endif -// Use BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX instead of BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX -#if defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) && !defined(BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX) -# define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX -#endif -// Use BOOST_NO_CXX11_VARIADIC_TEMPLATES instead of BOOST_NO_VARIADIC_TEMPLATES -#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_VARIADIC_TEMPLATES) -# define BOOST_NO_VARIADIC_TEMPLATES -#endif -// Use BOOST_NO_CXX11_VARIADIC_MACROS instead of BOOST_NO_VARIADIC_MACROS -#if defined(BOOST_NO_CXX11_VARIADIC_MACROS) && !defined(BOOST_NO_VARIADIC_MACROS) -# define BOOST_NO_VARIADIC_MACROS -#endif -// Use BOOST_NO_CXX11_NUMERIC_LIMITS instead of BOOST_NO_NUMERIC_LIMITS_LOWEST -#if defined(BOOST_NO_CXX11_NUMERIC_LIMITS) && !defined(BOOST_NO_NUMERIC_LIMITS_LOWEST) -# define BOOST_NO_NUMERIC_LIMITS_LOWEST -#endif -// ------------------ End of deprecated macros for 1.51 --------------------------- - - - -// -// Helper macros BOOST_NOEXCEPT, BOOST_NOEXCEPT_IF, BOOST_NOEXCEPT_EXPR -// These aid the transition to C++11 while still supporting C++03 compilers -// -#ifdef BOOST_NO_CXX11_NOEXCEPT -# define BOOST_NOEXCEPT -# define BOOST_NOEXCEPT_IF(Predicate) -# define BOOST_NOEXCEPT_EXPR(Expression) false -#else -# define BOOST_NOEXCEPT noexcept -# define BOOST_NOEXCEPT_IF(Predicate) noexcept((Predicate)) -# define BOOST_NOEXCEPT_EXPR(Expression) noexcept((Expression)) -#endif - -// -// constexpr workarounds -// -#if defined(BOOST_NO_CXX11_CONSTEXPR) -#define BOOST_CONSTEXPR -#define BOOST_CONSTEXPR_OR_CONST const -#else -#define BOOST_CONSTEXPR constexpr -#define BOOST_CONSTEXPR_OR_CONST constexpr -#endif - -#define BOOST_STATIC_CONSTEXPR static BOOST_CONSTEXPR_OR_CONST - -// -// Set BOOST_HAS_STATIC_ASSERT when BOOST_NO_CXX11_STATIC_ASSERT is not defined -// -#if !defined(BOOST_NO_CXX11_STATIC_ASSERT) && !defined(BOOST_HAS_STATIC_ASSERT) -# define BOOST_HAS_STATIC_ASSERT -#endif - -// -// Set BOOST_HAS_RVALUE_REFS when BOOST_NO_CXX11_RVALUE_REFERENCES is not defined -// -#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_HAS_RVALUE_REFS) -#define BOOST_HAS_RVALUE_REFS -#endif - -// -// Set BOOST_HAS_VARIADIC_TMPL when BOOST_NO_CXX11_VARIADIC_TEMPLATES is not defined -// -#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_HAS_VARIADIC_TMPL) -#define BOOST_HAS_VARIADIC_TMPL -#endif - - -#endif diff --git a/src/boost/boost/config/user.hpp b/src/boost/boost/config/user.hpp deleted file mode 100644 index 5a4a9d4..0000000 --- a/src/boost/boost/config/user.hpp +++ /dev/null @@ -1,124 +0,0 @@ -// boost/config/user.hpp ---------------------------------------------------// - -// (C) Copyright John Maddock 2001. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// Do not check in modified versions of this file, -// This file may be customized by the end user, but not by boost. - -// -// Use this file to define a site and compiler specific -// configuration policy: -// - -// define this to locate a compiler config file: -// #define BOOST_COMPILER_CONFIG - -// define this to locate a stdlib config file: -// #define BOOST_STDLIB_CONFIG - -// define this to locate a platform config file: -// #define BOOST_PLATFORM_CONFIG - -// define this to disable compiler config, -// use if your compiler config has nothing to set: -// #define BOOST_NO_COMPILER_CONFIG - -// define this to disable stdlib config, -// use if your stdlib config has nothing to set: -// #define BOOST_NO_STDLIB_CONFIG - -// define this to disable platform config, -// use if your platform config has nothing to set: -// #define BOOST_NO_PLATFORM_CONFIG - -// define this to disable all config options, -// excluding the user config. Use if your -// setup is fully ISO compliant, and has no -// useful extensions, or for autoconf generated -// setups: -// #define BOOST_NO_CONFIG - -// define this to make the config "optimistic" -// about unknown compiler versions. Normally -// unknown compiler versions are assumed to have -// all the defects of the last known version, however -// setting this flag, causes the config to assume -// that unknown compiler versions are fully conformant -// with the standard: -// #define BOOST_STRICT_CONFIG - -// define this to cause the config to halt compilation -// with an #error if it encounters anything unknown -- -// either an unknown compiler version or an unknown -// compiler/platform/library: -// #define BOOST_ASSERT_CONFIG - - -// define if you want to disable threading support, even -// when available: -// #define BOOST_DISABLE_THREADS - -// define when you want to disable Win32 specific features -// even when available: -// #define BOOST_DISABLE_WIN32 - -// BOOST_DISABLE_ABI_HEADERS: Stops boost headers from including any -// prefix/suffix headers that normally control things like struct -// packing and alignment. -// #define BOOST_DISABLE_ABI_HEADERS - -// BOOST_ABI_PREFIX: A prefix header to include in place of whatever -// boost.config would normally select, any replacement should set up -// struct packing and alignment options as required. -// #define BOOST_ABI_PREFIX my-header-name - -// BOOST_ABI_SUFFIX: A suffix header to include in place of whatever -// boost.config would normally select, any replacement should undo -// the effects of the prefix header. -// #define BOOST_ABI_SUFFIX my-header-name - -// BOOST_ALL_DYN_LINK: Forces all libraries that have separate source, -// to be linked as dll's rather than static libraries on Microsoft Windows -// (this macro is used to turn on __declspec(dllimport) modifiers, so that -// the compiler knows which symbols to look for in a dll rather than in a -// static library). Note that there may be some libraries that can only -// be statically linked (Boost.Test for example) and others which may only -// be dynamically linked (Boost.Threads for example), in these cases this -// macro has no effect. -// #define BOOST_ALL_DYN_LINK - -// BOOST_WHATEVER_DYN_LINK: Forces library "whatever" to be linked as a dll -// rather than a static library on Microsoft Windows: replace the WHATEVER -// part of the macro name with the name of the library that you want to -// dynamically link to, for example use BOOST_DATE_TIME_DYN_LINK or -// BOOST_REGEX_DYN_LINK etc (this macro is used to turn on __declspec(dllimport) -// modifiers, so that the compiler knows which symbols to look for in a dll -// rather than in a static library). -// Note that there may be some libraries that can only be statically linked -// (Boost.Test for example) and others which may only be dynamically linked -// (Boost.Threads for example), in these cases this macro is unsupported. -// #define BOOST_WHATEVER_DYN_LINK - -// BOOST_ALL_NO_LIB: Tells the config system not to automatically select -// which libraries to link against. -// Normally if a compiler supports #pragma lib, then the correct library -// build variant will be automatically selected and linked against, -// simply by the act of including one of that library's headers. -// This macro turns that feature off. -// #define BOOST_ALL_NO_LIB - -// BOOST_WHATEVER_NO_LIB: Tells the config system not to automatically -// select which library to link against for library "whatever", -// replace WHATEVER in the macro name with the name of the library; -// for example BOOST_DATE_TIME_NO_LIB or BOOST_REGEX_NO_LIB. -// Normally if a compiler supports #pragma lib, then the correct library -// build variant will be automatically selected and linked against, simply -// by the act of including one of that library's headers. This macro turns -// that feature off. -// #define BOOST_WHATEVER_NO_LIB - - - diff --git a/src/boost/boost/config/warning_disable.hpp b/src/boost/boost/config/warning_disable.hpp deleted file mode 100644 index fea8e82..0000000 --- a/src/boost/boost/config/warning_disable.hpp +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright John Maddock 2008 -// Use, modification, and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// This file exists to turn off some overly-pedantic warning emitted -// by certain compilers. You should include this header only in: -// -// * A test case, before any other headers, or, -// * A library source file before any other headers. -// -// IT SHOULD NOT BE INCLUDED BY ANY BOOST HEADER. -// -// YOU SHOULD NOT INCLUDE IT IF YOU CAN REASONABLY FIX THE WARNING. -// -// The only warnings disabled here are those that are: -// -// * Quite unreasonably pedantic. -// * Generally only emitted by a single compiler. -// * Can't easily be fixed: for example if the vendors own std lib -// code emits these warnings! -// -// Note that THIS HEADER MUST NOT INCLUDE ANY OTHER HEADERS: -// not even std library ones! Doing so may turn the warning -// off too late to be of any use. For example the VC++ C4996 -// warning can be emitted from if that header is included -// before or by this one :-( -// - -#ifndef BOOST_CONFIG_WARNING_DISABLE_HPP -#define BOOST_CONFIG_WARNING_DISABLE_HPP - -#if defined(_MSC_VER) && (_MSC_VER >= 1400) - // Error 'function': was declared deprecated - // http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx - // This error is emitted when you use some perfectly conforming - // std lib functions in a perfectly correct way, and also by - // some of Microsoft's own std lib code ! -# pragma warning(disable:4996) -#endif -#if defined(__INTEL_COMPILER) || defined(__ICL) - // As above: gives warning when a "deprecated" - // std library function is encountered. -# pragma warning(disable:1786) -#endif - -#endif // BOOST_CONFIG_WARNING_DISABLE_HPP diff --git a/src/boost/boost/cstdint.hpp b/src/boost/boost/cstdint.hpp deleted file mode 100644 index ea84b65..0000000 --- a/src/boost/boost/cstdint.hpp +++ /dev/null @@ -1,508 +0,0 @@ -// boost cstdint.hpp header file ------------------------------------------// - -// (C) Copyright Beman Dawes 1999. -// (C) Copyright Jens Mauer 2001 -// (C) Copyright John Maddock 2001 -// Distributed under the Boost -// Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// See http://www.boost.org/libs/integer for documentation. - -// Revision History -// 31 Oct 01 use BOOST_HAS_LONG_LONG to check for "long long" (Jens M.) -// 16 Apr 01 check LONGLONG_MAX when looking for "long long" (Jens Maurer) -// 23 Jan 01 prefer "long" over "int" for int32_t and intmax_t (Jens Maurer) -// 12 Nov 00 Merged (Jens Maurer) -// 23 Sep 00 Added INTXX_C macro support (John Maddock). -// 22 Sep 00 Better 64-bit support (John Maddock) -// 29 Jun 00 Reimplement to avoid including stdint.h within namespace boost -// 8 Aug 99 Initial version (Beman Dawes) - - -#ifndef BOOST_CSTDINT_HPP -#define BOOST_CSTDINT_HPP - -// -// Since we always define the INT#_C macros as per C++0x, -// define __STDC_CONSTANT_MACROS so that does the right -// thing if possible, and so that the user knows that the macros -// are actually defined as per C99. -// -#ifndef __STDC_CONSTANT_MACROS -# define __STDC_CONSTANT_MACROS -#endif - -#include - -// -// Note that GLIBC is a bit inconsistent about whether int64_t is defined or not -// depending upon what headers happen to have been included first... -// so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG. -// See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990 -// -#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG)) - -// The following #include is an implementation artifact; not part of interface. -# ifdef __hpux -// HP-UX has a vaguely nice in a non-standard location -# include -# ifdef __STDC_32_MODE__ - // this is triggered with GCC, because it defines __cplusplus < 199707L -# define BOOST_NO_INT64_T -# endif -# elif defined(__FreeBSD__) || defined(__IBMCPP__) || defined(_AIX) -# include -# else -# include - -// There is a bug in Cygwin two _C macros -# if defined(__STDC_CONSTANT_MACROS) && defined(__CYGWIN__) -# undef INTMAX_C -# undef UINTMAX_C -# define INTMAX_C(c) c##LL -# define UINTMAX_C(c) c##ULL -# endif - -# endif - -#ifdef __QNX__ - -// QNX (Dinkumware stdlib) defines these as non-standard names. -// Reflect to the standard names. - -typedef ::intleast8_t int_least8_t; -typedef ::intfast8_t int_fast8_t; -typedef ::uintleast8_t uint_least8_t; -typedef ::uintfast8_t uint_fast8_t; - -typedef ::intleast16_t int_least16_t; -typedef ::intfast16_t int_fast16_t; -typedef ::uintleast16_t uint_least16_t; -typedef ::uintfast16_t uint_fast16_t; - -typedef ::intleast32_t int_least32_t; -typedef ::intfast32_t int_fast32_t; -typedef ::uintleast32_t uint_least32_t; -typedef ::uintfast32_t uint_fast32_t; - -# ifndef BOOST_NO_INT64_T - -typedef ::intleast64_t int_least64_t; -typedef ::intfast64_t int_fast64_t; -typedef ::uintleast64_t uint_least64_t; -typedef ::uintfast64_t uint_fast64_t; - -# endif - -#endif - -namespace boost -{ - - using ::int8_t; - using ::int_least8_t; - using ::int_fast8_t; - using ::uint8_t; - using ::uint_least8_t; - using ::uint_fast8_t; - - using ::int16_t; - using ::int_least16_t; - using ::int_fast16_t; - using ::uint16_t; - using ::uint_least16_t; - using ::uint_fast16_t; - - using ::int32_t; - using ::int_least32_t; - using ::int_fast32_t; - using ::uint32_t; - using ::uint_least32_t; - using ::uint_fast32_t; - -# ifndef BOOST_NO_INT64_T - - using ::int64_t; - using ::int_least64_t; - using ::int_fast64_t; - using ::uint64_t; - using ::uint_least64_t; - using ::uint_fast64_t; - -# endif - - using ::intmax_t; - using ::uintmax_t; - -} // namespace boost - -#elif defined(__FreeBSD__) && (__FreeBSD__ <= 4) || defined(__osf__) || defined(__VMS) -// FreeBSD and Tru64 have an that contains much of what we need. -# include - -namespace boost { - - using ::int8_t; - typedef int8_t int_least8_t; - typedef int8_t int_fast8_t; - using ::uint8_t; - typedef uint8_t uint_least8_t; - typedef uint8_t uint_fast8_t; - - using ::int16_t; - typedef int16_t int_least16_t; - typedef int16_t int_fast16_t; - using ::uint16_t; - typedef uint16_t uint_least16_t; - typedef uint16_t uint_fast16_t; - - using ::int32_t; - typedef int32_t int_least32_t; - typedef int32_t int_fast32_t; - using ::uint32_t; - typedef uint32_t uint_least32_t; - typedef uint32_t uint_fast32_t; - -# ifndef BOOST_NO_INT64_T - - using ::int64_t; - typedef int64_t int_least64_t; - typedef int64_t int_fast64_t; - using ::uint64_t; - typedef uint64_t uint_least64_t; - typedef uint64_t uint_fast64_t; - - typedef int64_t intmax_t; - typedef uint64_t uintmax_t; - -# else - - typedef int32_t intmax_t; - typedef uint32_t uintmax_t; - -# endif - -} // namespace boost - -#else // BOOST_HAS_STDINT_H - -# include // implementation artifact; not part of interface -# include // needed for limits macros - - -namespace boost -{ - -// These are fairly safe guesses for some 16-bit, and most 32-bit and 64-bit -// platforms. For other systems, they will have to be hand tailored. -// -// Because the fast types are assumed to be the same as the undecorated types, -// it may be possible to hand tailor a more efficient implementation. Such -// an optimization may be illusionary; on the Intel x86-family 386 on, for -// example, byte arithmetic and load/stores are as fast as "int" sized ones. - -// 8-bit types ------------------------------------------------------------// - -# if UCHAR_MAX == 0xff - typedef signed char int8_t; - typedef signed char int_least8_t; - typedef signed char int_fast8_t; - typedef unsigned char uint8_t; - typedef unsigned char uint_least8_t; - typedef unsigned char uint_fast8_t; -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif - -// 16-bit types -----------------------------------------------------------// - -# if USHRT_MAX == 0xffff -# if defined(__crayx1) - // The Cray X1 has a 16-bit short, however it is not recommend - // for use in performance critical code. - typedef short int16_t; - typedef short int_least16_t; - typedef int int_fast16_t; - typedef unsigned short uint16_t; - typedef unsigned short uint_least16_t; - typedef unsigned int uint_fast16_t; -# else - typedef short int16_t; - typedef short int_least16_t; - typedef short int_fast16_t; - typedef unsigned short uint16_t; - typedef unsigned short uint_least16_t; - typedef unsigned short uint_fast16_t; -# endif -# elif (USHRT_MAX == 0xffffffff) && defined(__MTA__) - // On MTA / XMT short is 32 bits unless the -short16 compiler flag is specified - // MTA / XMT does support the following non-standard integer types - typedef __short16 int16_t; - typedef __short16 int_least16_t; - typedef __short16 int_fast16_t; - typedef unsigned __short16 uint16_t; - typedef unsigned __short16 uint_least16_t; - typedef unsigned __short16 uint_fast16_t; -# elif (USHRT_MAX == 0xffffffff) && defined(CRAY) - // no 16-bit types on Cray: - typedef short int_least16_t; - typedef short int_fast16_t; - typedef unsigned short uint_least16_t; - typedef unsigned short uint_fast16_t; -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif - -// 32-bit types -----------------------------------------------------------// - -# if UINT_MAX == 0xffffffff - typedef int int32_t; - typedef int int_least32_t; - typedef int int_fast32_t; - typedef unsigned int uint32_t; - typedef unsigned int uint_least32_t; - typedef unsigned int uint_fast32_t; -# elif (USHRT_MAX == 0xffffffff) - typedef short int32_t; - typedef short int_least32_t; - typedef short int_fast32_t; - typedef unsigned short uint32_t; - typedef unsigned short uint_least32_t; - typedef unsigned short uint_fast32_t; -# elif ULONG_MAX == 0xffffffff - typedef long int32_t; - typedef long int_least32_t; - typedef long int_fast32_t; - typedef unsigned long uint32_t; - typedef unsigned long uint_least32_t; - typedef unsigned long uint_fast32_t; -# elif (UINT_MAX == 0xffffffffffffffff) && defined(__MTA__) - // Integers are 64 bits on the MTA / XMT - typedef __int32 int32_t; - typedef __int32 int_least32_t; - typedef __int32 int_fast32_t; - typedef unsigned __int32 uint32_t; - typedef unsigned __int32 uint_least32_t; - typedef unsigned __int32 uint_fast32_t; -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif - -// 64-bit types + intmax_t and uintmax_t ----------------------------------// - -# if defined(BOOST_HAS_LONG_LONG) && \ - !defined(BOOST_MSVC) && !defined(__BORLANDC__) && \ - (!defined(__GLIBCPP__) || defined(_GLIBCPP_USE_LONG_LONG)) && \ - (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX)) -# if defined(__hpux) - // HP-UX's value of ULONG_LONG_MAX is unusable in preprocessor expressions -# elif (defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615ULL) || (defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615ULL) || (defined(ULONGLONG_MAX) && ULONGLONG_MAX == 18446744073709551615ULL) - // 2**64 - 1 -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif - - typedef ::boost::long_long_type intmax_t; - typedef ::boost::ulong_long_type uintmax_t; - typedef ::boost::long_long_type int64_t; - typedef ::boost::long_long_type int_least64_t; - typedef ::boost::long_long_type int_fast64_t; - typedef ::boost::ulong_long_type uint64_t; - typedef ::boost::ulong_long_type uint_least64_t; - typedef ::boost::ulong_long_type uint_fast64_t; - -# elif ULONG_MAX != 0xffffffff - -# if ULONG_MAX == 18446744073709551615 // 2**64 - 1 - typedef long intmax_t; - typedef unsigned long uintmax_t; - typedef long int64_t; - typedef long int_least64_t; - typedef long int_fast64_t; - typedef unsigned long uint64_t; - typedef unsigned long uint_least64_t; - typedef unsigned long uint_fast64_t; -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif -# elif defined(__GNUC__) && defined(BOOST_HAS_LONG_LONG) - __extension__ typedef long long intmax_t; - __extension__ typedef unsigned long long uintmax_t; - __extension__ typedef long long int64_t; - __extension__ typedef long long int_least64_t; - __extension__ typedef long long int_fast64_t; - __extension__ typedef unsigned long long uint64_t; - __extension__ typedef unsigned long long uint_least64_t; - __extension__ typedef unsigned long long uint_fast64_t; -# elif defined(BOOST_HAS_MS_INT64) - // - // we have Borland/Intel/Microsoft __int64: - // - typedef __int64 intmax_t; - typedef unsigned __int64 uintmax_t; - typedef __int64 int64_t; - typedef __int64 int_least64_t; - typedef __int64 int_fast64_t; - typedef unsigned __int64 uint64_t; - typedef unsigned __int64 uint_least64_t; - typedef unsigned __int64 uint_fast64_t; -# else // assume no 64-bit integers -# define BOOST_NO_INT64_T - typedef int32_t intmax_t; - typedef uint32_t uintmax_t; -# endif - -} // namespace boost - - -#endif // BOOST_HAS_STDINT_H - -#endif // BOOST_CSTDINT_HPP - - -/**************************************************** - -Macro definition section: - -Added 23rd September 2000 (John Maddock). -Modified 11th September 2001 to be excluded when -BOOST_HAS_STDINT_H is defined (John Maddock). -Modified 11th Dec 2009 to always define the -INT#_C macros if they're not already defined (John Maddock). - -******************************************************/ - -#if !defined(BOOST__STDC_CONSTANT_MACROS_DEFINED) && \ - (!defined(INT8_C) || !defined(INT16_C) || !defined(INT32_C) || !defined(INT64_C)) -// -// For the following code we get several warnings along the lines of: -// -// boost/cstdint.hpp:428:35: error: use of C99 long long integer constant -// -// So we declare this a system header to suppress these warnings. -// -#if defined(__GNUC__) && (__GNUC__ >= 4) -#pragma GCC system_header -#endif - -#include -# define BOOST__STDC_CONSTANT_MACROS_DEFINED -# if defined(BOOST_HAS_MS_INT64) -// -// Borland/Intel/Microsoft compilers have width specific suffixes: -// -#ifndef INT8_C -# define INT8_C(value) value##i8 -#endif -#ifndef INT16_C -# define INT16_C(value) value##i16 -#endif -#ifndef INT32_C -# define INT32_C(value) value##i32 -#endif -#ifndef INT64_C -# define INT64_C(value) value##i64 -#endif -# ifdef __BORLANDC__ - // Borland bug: appending ui8 makes the type a signed char -# define UINT8_C(value) static_cast(value##u) -# else -# define UINT8_C(value) value##ui8 -# endif -#ifndef UINT16_C -# define UINT16_C(value) value##ui16 -#endif -#ifndef UINT32_C -# define UINT32_C(value) value##ui32 -#endif -#ifndef UINT64_C -# define UINT64_C(value) value##ui64 -#endif -#ifndef INTMAX_C -# define INTMAX_C(value) value##i64 -# define UINTMAX_C(value) value##ui64 -#endif - -# else -// do it the old fashioned way: - -// 8-bit types ------------------------------------------------------------// - -# if (UCHAR_MAX == 0xff) && !defined(INT8_C) -# define INT8_C(value) static_cast(value) -# define UINT8_C(value) static_cast(value##u) -# endif - -// 16-bit types -----------------------------------------------------------// - -# if (USHRT_MAX == 0xffff) && !defined(INT16_C) -# define INT16_C(value) static_cast(value) -# define UINT16_C(value) static_cast(value##u) -# endif - -// 32-bit types -----------------------------------------------------------// -#ifndef INT32_C -# if (UINT_MAX == 0xffffffff) -# define INT32_C(value) value -# define UINT32_C(value) value##u -# elif ULONG_MAX == 0xffffffff -# define INT32_C(value) value##L -# define UINT32_C(value) value##uL -# endif -#endif - -// 64-bit types + intmax_t and uintmax_t ----------------------------------// -#ifndef INT64_C -# if defined(BOOST_HAS_LONG_LONG) && \ - (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX) || defined(_LLONG_MAX)) - -# if defined(__hpux) - // HP-UX's value of ULONG_LONG_MAX is unusable in preprocessor expressions -# define INT64_C(value) value##LL -# define UINT64_C(value) value##uLL -# elif (defined(ULLONG_MAX) && ULLONG_MAX == 18446744073709551615ULL) || \ - (defined(ULONG_LONG_MAX) && ULONG_LONG_MAX == 18446744073709551615ULL) || \ - (defined(ULONGLONG_MAX) && ULONGLONG_MAX == 18446744073709551615ULL) || \ - (defined(_LLONG_MAX) && _LLONG_MAX == 18446744073709551615ULL) - -# define INT64_C(value) value##LL -# define UINT64_C(value) value##uLL -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif -# elif ULONG_MAX != 0xffffffff - -# if ULONG_MAX == 18446744073709551615U // 2**64 - 1 -# define INT64_C(value) value##L -# define UINT64_C(value) value##uL -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif -# elif defined(BOOST_HAS_LONG_LONG) - // Usual macros not defined, work things out for ourselves: -# if(~0uLL == 18446744073709551615ULL) -# define INT64_C(value) value##LL -# define UINT64_C(value) value##uLL -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif -# else -# error defaults not correct; you must hand modify boost/cstdint.hpp -# endif - -# ifdef BOOST_NO_INT64_T -# define INTMAX_C(value) INT32_C(value) -# define UINTMAX_C(value) UINT32_C(value) -# else -# define INTMAX_C(value) INT64_C(value) -# define UINTMAX_C(value) UINT64_C(value) -# endif -#endif -# endif // Borland/Microsoft specific width suffixes - -#endif // INT#_C macros. - - - - diff --git a/src/boost/boost/limits.hpp b/src/boost/boost/limits.hpp deleted file mode 100644 index d3747a1..0000000 --- a/src/boost/boost/limits.hpp +++ /dev/null @@ -1,146 +0,0 @@ - -// (C) Copyright John maddock 1999. -// (C) David Abrahams 2002. Distributed under the Boost -// Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// use this header as a workaround for missing - -// See http://www.boost.org/libs/compatibility/index.html for documentation. - -#ifndef BOOST_LIMITS -#define BOOST_LIMITS - -#include - -#ifdef BOOST_NO_LIMITS -# include -#else -# include -#endif - -#if (defined(BOOST_HAS_LONG_LONG) && defined(BOOST_NO_LONG_LONG_NUMERIC_LIMITS)) \ - || (defined(BOOST_HAS_MS_INT64) && defined(BOOST_NO_MS_INT64_NUMERIC_LIMITS)) -// Add missing specializations for numeric_limits: -#ifdef BOOST_HAS_MS_INT64 -# define BOOST_LLT __int64 -# define BOOST_ULLT unsigned __int64 -#else -# define BOOST_LLT ::boost::long_long_type -# define BOOST_ULLT ::boost::ulong_long_type -#endif - -#include // for CHAR_BIT - -namespace std -{ - template<> - class numeric_limits - { - public: - - BOOST_STATIC_CONSTANT(bool, is_specialized = true); -#ifdef BOOST_HAS_MS_INT64 - static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0x8000000000000000i64; } - static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0x7FFFFFFFFFFFFFFFi64; } -#elif defined(LLONG_MAX) - static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LLONG_MIN; } - static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LLONG_MAX; } -#elif defined(LONGLONG_MAX) - static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LONGLONG_MIN; } - static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LONGLONG_MAX; } -#else - static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 1LL << (sizeof(BOOST_LLT) * CHAR_BIT - 1); } - static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ~(min)(); } -#endif - BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT -1); - BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT) - 1) * 301L / 1000); - BOOST_STATIC_CONSTANT(bool, is_signed = true); - BOOST_STATIC_CONSTANT(bool, is_integer = true); - BOOST_STATIC_CONSTANT(bool, is_exact = true); - BOOST_STATIC_CONSTANT(int, radix = 2); - static BOOST_LLT epsilon() throw() { return 0; }; - static BOOST_LLT round_error() throw() { return 0; }; - - BOOST_STATIC_CONSTANT(int, min_exponent = 0); - BOOST_STATIC_CONSTANT(int, min_exponent10 = 0); - BOOST_STATIC_CONSTANT(int, max_exponent = 0); - BOOST_STATIC_CONSTANT(int, max_exponent10 = 0); - - BOOST_STATIC_CONSTANT(bool, has_infinity = false); - BOOST_STATIC_CONSTANT(bool, has_quiet_NaN = false); - BOOST_STATIC_CONSTANT(bool, has_signaling_NaN = false); - BOOST_STATIC_CONSTANT(bool, has_denorm = false); - BOOST_STATIC_CONSTANT(bool, has_denorm_loss = false); - static BOOST_LLT infinity() throw() { return 0; }; - static BOOST_LLT quiet_NaN() throw() { return 0; }; - static BOOST_LLT signaling_NaN() throw() { return 0; }; - static BOOST_LLT denorm_min() throw() { return 0; }; - - BOOST_STATIC_CONSTANT(bool, is_iec559 = false); - BOOST_STATIC_CONSTANT(bool, is_bounded = true); - BOOST_STATIC_CONSTANT(bool, is_modulo = true); - - BOOST_STATIC_CONSTANT(bool, traps = false); - BOOST_STATIC_CONSTANT(bool, tinyness_before = false); - BOOST_STATIC_CONSTANT(float_round_style, round_style = round_toward_zero); - - }; - - template<> - class numeric_limits - { - public: - - BOOST_STATIC_CONSTANT(bool, is_specialized = true); -#ifdef BOOST_HAS_MS_INT64 - static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0ui64; } - static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0xFFFFFFFFFFFFFFFFui64; } -#elif defined(ULLONG_MAX) && defined(ULLONG_MIN) - static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULLONG_MIN; } - static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULLONG_MAX; } -#elif defined(ULONGLONG_MAX) && defined(ULONGLONG_MIN) - static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULONGLONG_MIN; } - static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULONGLONG_MAX; } -#else - static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0uLL; } - static BOOST_ULLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ~0uLL; } -#endif - BOOST_STATIC_CONSTANT(int, digits = sizeof(BOOST_LLT) * CHAR_BIT); - BOOST_STATIC_CONSTANT(int, digits10 = (CHAR_BIT * sizeof (BOOST_LLT)) * 301L / 1000); - BOOST_STATIC_CONSTANT(bool, is_signed = false); - BOOST_STATIC_CONSTANT(bool, is_integer = true); - BOOST_STATIC_CONSTANT(bool, is_exact = true); - BOOST_STATIC_CONSTANT(int, radix = 2); - static BOOST_ULLT epsilon() throw() { return 0; }; - static BOOST_ULLT round_error() throw() { return 0; }; - - BOOST_STATIC_CONSTANT(int, min_exponent = 0); - BOOST_STATIC_CONSTANT(int, min_exponent10 = 0); - BOOST_STATIC_CONSTANT(int, max_exponent = 0); - BOOST_STATIC_CONSTANT(int, max_exponent10 = 0); - - BOOST_STATIC_CONSTANT(bool, has_infinity = false); - BOOST_STATIC_CONSTANT(bool, has_quiet_NaN = false); - BOOST_STATIC_CONSTANT(bool, has_signaling_NaN = false); - BOOST_STATIC_CONSTANT(bool, has_denorm = false); - BOOST_STATIC_CONSTANT(bool, has_denorm_loss = false); - static BOOST_ULLT infinity() throw() { return 0; }; - static BOOST_ULLT quiet_NaN() throw() { return 0; }; - static BOOST_ULLT signaling_NaN() throw() { return 0; }; - static BOOST_ULLT denorm_min() throw() { return 0; }; - - BOOST_STATIC_CONSTANT(bool, is_iec559 = false); - BOOST_STATIC_CONSTANT(bool, is_bounded = true); - BOOST_STATIC_CONSTANT(bool, is_modulo = true); - - BOOST_STATIC_CONSTANT(bool, traps = false); - BOOST_STATIC_CONSTANT(bool, tinyness_before = false); - BOOST_STATIC_CONSTANT(float_round_style, round_style = round_toward_zero); - - }; -} -#endif - -#endif - diff --git a/src/boost/boost/print.hpp b/src/boost/boost/print.hpp deleted file mode 100644 index 8800501..0000000 --- a/src/boost/boost/print.hpp +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - * - * Design Goals: - * - Support std::string, char * and std::vector and other forms of string output - * - Efficient in time and space - * - No dependency on printf or C++ iostreams - * - Minimal dependencies except for std::string, std::strlen, std::malloc, std::vector - * - Can be used with or without the rest of boost - * - Extensible to other data types, structs and containers - * - Support for user-defined types and custom formatting - * - * Features: - * - Three step algorithm: determine the string length, allocate, and print - * - Supports integer, float and string inputs - * - Support for binary (0 or 1), octal and hexadecimal formatting of integers. - * - * Limitations: - * - No direct fprint output - * - No direct ostream output - * - No locale support by design (it could be added as an option, we don't want it) - * - No float or double support yet (it could be added, we don't need it) - * - No support for octal output yet (it could be added, we don't need it) - * - * Testing: - * - Compiles and runs for OSX Leopard ppc, i386 and x86_64 architectures. (gcc 4.0.1) - * - Compiles and runs for Linux x86 and x86_64 arhitectures. (gcc 4.1.2) - * - Compiles and runs for Solaris x86 and x86_64 architectures. (SunStudio 12) - * - Compiles and runs for Windows VC7, VC8, VC9, VC10. x86 and x86_64 architectures. - * - * Examples: - - // Print to std::string - - std::string string; - boost::print::print(string,"Hello",' ',"World",'!'); - std::cout << string << std::endl; - - // Print to std::wstring - - std::wstring wstring; - boost::print::print(wstring,"Hello"," Wide ","World",'!'); - - // Print to std::vector, etc - - std::vector char_vector; - boost::print::print(char_vector,"Hello"," Vector",'?'); - - std::vector int_vector; - boost::print::print(int_vector,"Hello"," Vector "," of int."); - - // Print to char buffer with unknown length - - char buffer[1024]; - boost::print::print(buffer,"This might exceed the buffer size."); - std::cout << buffer << std::endl; - - // Print to char buffer with specified length - - boost::print::print_buffer(buffer,sizeof(buffer),"This won't overwrite the buffer."); - std::cout << buffer << std::endl; - - // Print to char buffer with specified begin and end iterators - - boost::print::print_iterator(buffer,buffer+sizeof(buffer),"Iterators can be used for safety too"); - std::cout << buffer << std::endl; - - // Print to FILE * or std::ostream - - boost::print::print(stdout, "Works the same for FILE * ...",'\n'); - boost::print::print(std::cout, "... and std::ostream too.",'\n'); - - // Print to std::string - - std::cout << boost::print::print_string("1+1 = ",1+1) << std::endl; - - // Print to dynamically allocated char buffer - - char *message = boost::print::print_c_str("Don't forget to free() the message when you're done with it."); - std::printf("%s\n",message); - std::free(message); - -*/ - -#ifndef BOOST_PRINT_HPP -#define BOOST_PRINT_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include -#include -#include -#include -#include -#include -#include - -#endif diff --git a/src/boost/boost/print/core.hpp b/src/boost/boost/print/core.hpp deleted file mode 100644 index 41bf5eb..0000000 --- a/src/boost/boost/print/core.hpp +++ /dev/null @@ -1,1223 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_CORE_HPP -#define BOOST_PRINT_CORE_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include -#include - -// -// boost::print namespace for public API - print, print_cast -// - -namespace boost { namespace print { - -// Generic print - -template -::std::size_t print(T &output) -{ - output.clear(); - return 0; -} - -template -::std::size_t print(T &output, const A1 &a1) -{ - const ::std::size_t size = ::boost::print::extend::length(a1); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33); - assert(i==output.end()); - return size; -} - -template -::std::size_t print(T &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33,const A34 &a34) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34); - - output.clear(); - output.resize(size,' '); - - typename T::iterator i = output.begin(); - ::boost::print::extend::write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34); - assert(i==output.end()); - return size; -} - -// print_buffer - -template -::std::size_t print_buffer(T *output, const ::std::size_t n) -{ - if (output) - { - if (n>0) *output = '\0'; - } - return 0; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1) -{ - const ::std::size_t size = ::boost::print::extend::length(a1); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_buffer(T *output, const ::std::size_t n, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33, const A34 &a34) -{ - const ::std::size_t size = ::boost::print::extend::length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34); - if (output) - { - if (n>size) ::boost::print::extend::write(output,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34); - if (n>0) *output = '\0'; - } - return size; -} - -template -::std::size_t print_iterator(Iterator begin, Iterator end, const A1 &a1) -{ - return print_buffer(begin,static_cast(end-begin),a1); -} - -// - -template -inline T print_cast() -{ - return T(); -} - -template -T print_cast(const A1 &a1) -{ - T tmp; - print(tmp,a1); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2) -{ - T tmp; - print(tmp,a1,a2); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3) -{ - T tmp; - print(tmp,a1,a2,a3); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - T tmp; - print(tmp,a1,a2,a3,a4); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33); - return tmp; -} - -template -T print_cast(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33, const A34 &a34) -{ - T tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34); - return tmp; -} - -}} - -#endif diff --git a/src/boost/boost/print/detail b/src/boost/boost/print/detail deleted file mode 100644 index b9a8f1d..0000000 --- a/src/boost/boost/print/detail +++ /dev/null @@ -1,154 +0,0 @@ -/* Copyright 2010 Nigel T Stewart, Nvidia Corporation - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * See http://www.boost.org/libs/print for library home page. - * - * boost::print is a library for string conversion. - */ - -#ifndef BOOST_PRINT_DETAIL_HPP -#define BOOST_PRINT_DETAIL_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include // diffptr_t, size_t -#include // assert - -// -// boost::print::detail namespace for internal implementation purposes -// - -namespace boost { namespace print { namespace detail { - -using std::size_t; - -// Formatting types for binary and hex output - -template struct binaryFormat { binaryFormat(const T &val) : _val(val) {} const T &_val; }; -template struct hexFormat { hexFormat (const T &val) : _val(val) {} const T &_val; }; - -// Determine the number of digits of an unsigned integer -// Use binary search to minimise comparisons. - -template -inline size_t unsigned_length(T val) -{ - switch (sizeof(T)) { - // 8-bit unsigned integer - case 1: - return val<10 ? 1 : (val<100 ? 2 : 3); - - // 16-bit unsigned integer - case 2: { - if (val<1000) - return val<10 ? 1 : (val<100 ? 2 : 3); - else - return val<10000 ? 4 : 5; - } - - // 32-bit unsigned integer - case 4: { - if (val<10000) - return val<100 ? (val<10 ? 1 : 2) : (val<1000 ? 3 : 4); - else - return val<10000000 ? - ( val < 100000 ? 5 : (val<1000000 ? 6 : 7)) : - ( val < 100000000 ? 8 : (val<1000000000 ? 9 : 10)); - } - - // 64-bit unsigned integer - - default: - // compile-time assertion? - assert(0); - return 0; - } -} - -// Determine the number of digits of a signed integer - -template -inline size_t signed_length(S val) -{ - const bool negative = val<0; - if (negative) - val = -val; - return unsigned_length(static_cast(val)) + (negative ? 1 : 0); -} - -// Output unsigned integer - -template -inline void write_unsigned(Iterator &i, T val) -{ - if (val==0) { - *i = '0'; - ++i; - return; - } - - const size_t len = unsigned_length(val); - - i += len; - while (val) { - --i; - *i = '0' + (val%10); - val /= 10; - } - i += len; -} - -// Output signed integer -// Corresponding unsigned type U needs to be specified - -template -inline void write_signed(Iterator &i, S val) -{ - if (val<0) { - *i = '-'; - ++i; - val = -val; - } - - write_unsigned(i,static_cast(val)); -} - -// Output string of binary zeros and ones - -template inline -void write_binary(Iterator &i, const size_t &val, const size_t n) -{ - for (size_t j=0; j inline -void write_hex(Iterator &i, const size_t &val, const size_t n) -{ - for (size_t j=0; j>((n-1-j)<<2))&15; - *i = hex<10 ? '0' + hex : 'A' + hex - 10; - } -} - -// Write characters from a [begin,end) iterator pair -// For example: std::string::begin(), std::string::end() - -template -inline void write_iterator(Iterator &i, const ConstInputIterator &begin, const ConstInputIterator &end) -{ - for (ConstInputIterator j=begin; j!=end; ++i,++j) - *i = *j; -} - -}}} - -#endif - diff --git a/src/boost/boost/print/detail.cpp b/src/boost/boost/print/detail.cpp deleted file mode 100644 index fd12235..0000000 --- a/src/boost/boost/print/detail.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include "detail.hpp" - -// -// boost::print::detail namespace for internal implementation purposes -// - -namespace boost { namespace print { namespace detail { - -// Determine the number of digits of an unsigned integer -// Use binary search to minimise comparisons. - -// 8-bit unsigned integer - -size_t unsigned_length(const boost::uint8_t val) -{ - return val<10 ? 1 : (val<100 ? 2 : 3); -} - -// 16-bit unsigned integer - -size_t unsigned_length(const boost::uint16_t val) -{ - if (val<1000) - return val<10 ? 1 : (val<100 ? 2 : 3); - else - return val<10000 ? 4 : 5; -} - -// 32-bit unsigned integer - -size_t unsigned_length(const boost::uint32_t val) -{ - if (val<10000) - return val<100 ? (val<10 ? 1 : 2) : (val<1000 ? 3 : 4); - else - return val<10000000 ? - ( val < 100000 ? 5 : (val<1000000 ? 6 : 7)) : - ( val < 100000000 ? 8 : (val<1000000000 ? 9 : 10)); -} - -// 64-bit unsigned integer - -size_t unsigned_length(const boost::uint64_t val) -{ - if (val<100000000ll) - { - if (val<10000) - return val<100 ? (val<10 ? 1 : 2) : (val<1000 ? 3 : 4); - else - return val<1000000 ? (val<100000 ? 5 : 6) : (val<10000000 ? 7 : 8); - } - else - { - if (val<1000000000000ll) - return val<10000000000ll ? (val<1000000000ll ? 9 : 10) : (val<100000000000ll ? 11 : 12); - else - { - if (val<10000000000000000ll) - return val<100000000000000ll ? (val<10000000000000ll ? 13 : 14) : (val<1000000000000000ll ? 15 : 16); - else - return val<1000000000000000000ll ? (val<100000000000000000ll ? 17 : 18) : (val<10000000000000000000ull ? 19 : 20); - } - } -} - -// Output unsigned integer - -void write_unsigned(std::string::iterator &i, boost::uint8_t val) -{ - return write_unsigned(i,val); -} - -void write_unsigned(std::string::iterator &i, boost::uint16_t val) -{ - return write_unsigned(i,val); -} - -void write_unsigned(std::string::iterator &i, boost::uint32_t val) -{ - return write_unsigned(i,val); -} - -void write_unsigned(std::string::iterator &i, boost::uint64_t val) -{ - return write_unsigned(i,val); -} - -}}} diff --git a/src/boost/boost/print/detail.hpp b/src/boost/boost/print/detail.hpp deleted file mode 100644 index 1accb12..0000000 --- a/src/boost/boost/print/detail.hpp +++ /dev/null @@ -1,500 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_DETAIL_HPP -#define BOOST_PRINT_DETAIL_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include // diffptr_t, size_t -#include // memcpy -#include // assert - -#include // args for float and double, for now -#include // sprintf for float and double, for now -#include // strlen for sprintf length - -#include - -#include - -#if defined(__SUNPRO_CC) && defined(__SunOS) -#include -#endif - -// for __ARM_ARCH__ - -#if defined(__ANDROID__) && !defined(__i386__) -#include -#endif - -// -// boost::print::detail namespace for internal implementation purposes -// - -namespace boost { namespace print { namespace detail { - -using std::size_t; - -// Binary formatting of integers - -template -struct binary -{ - binary(const T &val) : _val(&val) {} - binary &operator=(const binary &other) { _val = other._val; } - const T * const _val; -}; - -// Octal formatting of integers - -template -struct octal -{ - octal(const T &val) : _val(&val) {} - octal &operator=(const octal &other) { _val = other._val; } - const T * const _val; -}; - -// Hex formatting of integers - -template -struct hex -{ - hex(const T &val, const bool upperCase = false) - : _val(&val), _upperCase(upperCase) - { - } - - hex &operator=(const hex &other) { _val = other._val; _upperCase = other._upperCase; } - - const T * const _val; - bool _upperCase; -}; - -// - -template -struct pad -{ - pad(const size_t width, const C padding = ' ') - : _width(width), _padding(padding) - { - } - - pad &operator=(const pad &other) { _width = other._width; _padding = other._padding; } - - size_t _width; - C _padding; -}; - -// Left and right alignment of generic types - -template -struct left : public pad -{ - left(const T &val, const size_t width, const C padding = ' ') - : pad(width,padding), _val(&val) - { - } - - left &operator=(const left &other) { _val = other._val; pad::operator=(other); return *this; } - - const T * const _val; -}; - -template -struct right : public pad -{ - right(const T &val, const size_t width, const C padding = ' ') - : pad(width,padding), _val(&val) - { - } - - right &operator=(const right &other) { _val = other._val; pad::operator=(other); return *this; } - - const T * const _val; -}; - -// Quoting - -template -struct quote -{ - quote(const T &val, const C q = '"') - : _val(&val), _q(q) - { - } - - const T * const _val; - C _q; - -private: - quote(); - quote &operator=(const quote &other); -}; - -// Optional - -template -struct optional -{ - optional(const T &val, const bool enabled) - : _val(val), _enabled(enabled) - { - } - - const T &_val; - const bool _enabled; - -private: - optional(); - optional &operator=(const optional &other); -}; - -// Array printing - -template -struct array -{ - array(const T *data, const size_t size, const U "e, const U &open, const U &close, const U &delim) - : _data(data), _size(size), _quote(quote), _open(open), _close(close), _delim(delim) {} - - const T *_data; - size_t _size; - - const U _quote; - const U _open; - const U _close; - const U _delim; - -private: - array(); - array &operator=(const array &other); -}; - -// Raw memory dumping, in groups of 4 bytes - -template -struct raw -{ - raw(const void *data, const size_t size, const U "e, const U &open, const U &close, const U &delim) - : _data(data), _size(size), _quote(quote), _open(open), _close(close), _delim(delim) {} - - const void *_data; - size_t _size; - - const U _quote; - const U _open; - const U _close; - const U _delim; - -private: - raw(); - raw &operator=(const raw &other); -}; - -// Iterator printing for containers - -template -struct iterator -{ - iterator(const T &begin, const T &end, const U "e, const U &open, const U &close, const U &delim) - : _begin(begin), _end(end), _quote(quote), _open(open), _close(close), _delim(delim) {} - - const T &_begin; - const T &_end; - - const U _quote; - const U _open; - const U _close; - const U _delim; - -private: - iterator(); - iterator &operator=(const iterator &other); -}; - -// Print the first n delimited items -// -// str - input string -// delim - delimiter character, such as \n -// n - Maximum number of items to output -// prefix - Per-line prefix -// suffix - Output suffix for trimmed lists - -template -struct trim -{ - trim(const T &str, const U delim, const size_t n, const T &prefix, const T &suffix) - : _str(str), _delim(delim), _n(n), _prefix(prefix), _suffix(suffix) {} - - const T _str; - const U _delim; - const size_t _n; - const T _prefix; - const T _suffix; - -private: - trim(); - trim &operator=(const iterator &other); -}; - -// Determine the number of digits of an unsigned integer -// Use binary search to minimise comparisons. - -// 8-bit unsigned integer - -inline size_t unsigned_length(const boost::uint8_t val) -{ - return val<10 ? 1 : (val<100 ? 2 : 3); -} - -// 16-bit unsigned integer - -inline size_t unsigned_length(const boost::uint16_t val) -{ - if (val<1000) - return val<10 ? 1 : (val<100 ? 2 : 3); - else - return val<10000 ? 4 : 5; -} - -// 32-bit unsigned integer - -inline size_t unsigned_length(const boost::uint32_t val) -{ - if (val<10000) - return val<100 ? (val<10 ? 1 : 2) : (val<1000 ? 3 : 4); - else - return val<10000000 ? - ( val < 100000 ? 5 : (val<1000000 ? 6 : 7)) : - ( val < 100000000 ? 8 : (val<1000000000 ? 9 : 10)); -} - -// 64-bit unsigned integer - -inline size_t unsigned_length(const boost::uint64_t val) -{ - if (val<100000000ll) - { - if (val<10000) - return val<100 ? (val<10 ? 1 : 2) : (val<1000 ? 3 : 4); - else - return val<1000000 ? (val<100000 ? 5 : 6) : (val<10000000 ? 7 : 8); - } - else - { - if (val<1000000000000ll) - return val<10000000000ll ? (val<1000000000ll ? 9 : 10) : (val<100000000000ll ? 11 : 12); - else - { - if (val<10000000000000000ll) - return val<100000000000000ll ? (val<10000000000000ll ? 13 : 14) : (val<1000000000000000ll ? 15 : 16); - else - return val<1000000000000000000ll ? (val<100000000000000000ll ? 17 : 18) : (val<10000000000000000000ull ? 19 : 20); - } - } -} - -#if defined(__APPLE__) && defined(__i386) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__APPLE__) && defined(__x86_64) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__APPLE__) && defined(__ppc__) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__APPLE__) && defined(__arm__) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__native_client__) && (defined(__i386) || defined(__x86_64) || defined(__arm__)) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__ANDROID__) && defined(__i386__) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__ANDROID__) && defined(__ARM_ARCH__) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__linux) && defined(__i386) && !defined(__native_client__) && !defined(__ANDROID__) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__linux) && defined(__x86_64) && !defined(__native_client__) && !defined(__ANDROID__) -inline size_t unsigned_length(const unsigned long long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(__linux) && defined(__arm__) && !defined(__native_client__) && !defined(__ANDROID__) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if (defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__sun)) && defined(__i386) -inline size_t unsigned_length(const unsigned int val) { return unsigned_length(static_cast(val)); } -#endif - -#if (defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__sun)) && defined(__x86_64) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(WIN32) && !defined(_WIN64) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(WIN32) && defined(_WIN64) -inline size_t unsigned_length(const unsigned long val) { return unsigned_length(static_cast(val)); } -#endif - -#if defined(EMSCRIPTEN) -inline size_t unsigned_length(const unsigned long val) {return unsigned_length(static_cast(val)); } -#endif - -// Determine the number of digits of a signed integer - -template -inline size_t signed_length(S val) -{ - const bool negative = val<0; - if (negative) - val = -val; - return unsigned_length(static_cast(val)) + (negative ? 1 : 0); -} - -inline size_t sprintf_length(const char *fmt, ...) -{ - std::va_list args; - va_start(args,fmt); - char buffer[1024]; - ::std::vsprintf(buffer,fmt,args); - va_end(args); - return ::std::strlen(buffer); -} - -// Output unsigned integer - -template -inline void write_unsigned(Iterator &i, T val) -{ - if (val==0) { - *i = '0'; - ++i; - return; - } - - const size_t len = unsigned_length(val); - - i += len; - while (val) { - --i; - *i = '0' + static_cast(val%10); - val /= 10; - } - i += len; -} - -// Output signed integer -// Corresponding unsigned type U needs to be specified - -template -inline void write_signed(Iterator &i, S val) -{ - if (val<0) { - *i = '-'; - ++i; - val = -val; - } - - write_unsigned(i,static_cast(val)); -} - -template -inline size_t write_sprintf(Iterator &i, const char *fmt, ...) -{ - std::va_list args; - va_start(args,fmt); - vsprintf(&(*i),fmt,args); - va_end(args); - const ::std::size_t len = ::std::strlen(&(*i)); - i += len; - return len; -} - -// Output string of binary zeros and ones - -template inline -void write_binary(Iterator &i, const T &val, const size_t n) -{ - for (size_t j=0; j>(n-1-j))&1 ? '1' : '0'; -} - -// Output string of octal 01234567 digits - -template inline -void write_octal(Iterator &i, const T &val, const size_t n) -{ - for (size_t j=0; j((val>>((n-1-j)*3))&7); - *i = static_cast('0' + oct); - } -} - -// Output string of hexadecimal 0123456789ABCDEF digits - -template inline -void write_hex(Iterator &i, const T &val, const size_t n, const bool upperCase) -{ - for (size_t j=0; j((val>>((n-1-j)<<2))&15); - *i = static_cast(hex<10 ? '0' + hex : (upperCase ? 'A' : 'a') + hex - 10); - } -} - -// Write characters from a [begin,end) iterator pair -// For example: std::string::begin(), std::string::end() - -template -inline void write_iterator(Iterator &i, const ConstInputIterator &begin, const ConstInputIterator &end) -{ - for (ConstInputIterator j=begin; j!=end; ++i,++j) - *i = *j; -} - -template<> -inline void write_iterator(std::string::iterator &i, const std::string::const_iterator &begin, const std::string::const_iterator &end) -{ - // Avoid dereferencing possibly invalid iterators for std::string - - if (begin!=end) - { - std::memcpy(reinterpret_cast(&(*i)),static_cast(&(*begin)),end-begin); - i += end-begin; - } -} - -}}} - -#endif - diff --git a/src/boost/boost/print/interface.cpp b/src/boost/boost/print/interface.cpp deleted file mode 100644 index d9d658e..0000000 --- a/src/boost/boost/print/interface.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#include "interface.hpp" - -namespace boost { namespace print { namespace extend { - -std::size_t length(const ::boost::print::detail::array &val) -{ - return ::boost::print::extend::length(val); -} - -std::size_t length(const ::boost::print::detail::array &val) -{ - return length(val); -} - -std::size_t length(const ::boost::print::detail::array &val) -{ - return length(val); -} - -std::size_t length(const ::boost::print::detail::array &val) -{ - return length(val); -} - -std::size_t length(const ::boost::print::detail::array &val) -{ - return length(val); -} - -std::size_t length(const ::boost::print::detail::array &val) -{ - return length(val); -} - -void write(std::string::iterator &i, const ::boost::print::detail::array &val) -{ - write(i,val); -} - -void write(std::string::iterator &i, const ::boost::print::detail::array &val) -{ - write(i,val); -} - -void write(std::string::iterator &i, const ::boost::print::detail::array &val) -{ - write(i,val); -} - -void write(std::string::iterator &i, const ::boost::print::detail::array &val) -{ - write(i,val); -} - -void write(std::string::iterator &i, const ::boost::print::detail::array &val) -{ - write(i,val); -} - -void write(std::string::iterator &i, const ::boost::print::detail::array &val) -{ - write(i,val); -} - -}}} diff --git a/src/boost/boost/print/interface.hpp b/src/boost/boost/print/interface.hpp deleted file mode 100644 index d1f84da..0000000 --- a/src/boost/boost/print/interface.hpp +++ /dev/null @@ -1,1514 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_INTERFACE_HPP -#define BOOST_PRINT_INTERFACE_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include // strlen -#include -#include - -#include - -namespace boost { namespace print { - -template detail::binary binary(const T &val) { return detail::binary(val); } -template detail::octal octal(const T &val) { return detail::octal(val); } -template detail::hex hex(const T &val, const bool upperCase = false) { return detail::hex(val,upperCase); } - -inline detail::pad pad ( const size_t width) { return detail::pad(width,' '); } -template detail::left left (const T &val, const size_t width) { return detail::left(val,width,' '); } -template detail::right right (const T &val, const size_t width) { return detail::right(val,width,' '); } - -template< typename C> detail::pad pad ( const size_t width, const C padding) { return detail::pad(width,padding); } -template detail::left left (const T &val, const size_t width, const C padding) { return detail::left(val,width,padding); } -template detail::right right (const T &val, const size_t width, const C padding) { return detail::right(val,width,padding); } - -template detail::quote quote (const T &val, const C q) { return detail::quote(val,q); } - -template detail::optional optional(const T &val, const bool enabled) { return detail::optional(val, enabled); } - -template -detail::array array(const T *data, const std::size_t size) -{ - static const char * const quote = ""; - static const char * const open = "[ "; - static const char * const close = " ]"; - static const char * const delim = ", "; - return detail::array(data,size,quote,open,close,delim); -} - -template -detail::array array(const T *data, const std::size_t size, const char *const quote) -{ - static const char * const open = "[ "; - static const char * const close = " ]"; - static const char * const delim = ", "; - return detail::array(data,size,quote,open,close,delim); -} - -template -detail::array array(const T *data, const std::size_t size, const U "e, const U &open, const U &close, const U &delim) -{ return detail::array(data,size,quote,open,close,delim); } - -inline -detail::raw raw(const void *data, const std::size_t size) -{ - static const char * const quote = ""; - static const char * const open = "[ "; - static const char * const close = " ]"; - static const char * const delim = " "; - return detail::raw(data,size,quote,open,close,delim); -} - -template -detail::raw raw(const T *data, const std::size_t size) -{ - static const char * const quote = ""; - static const char * const open = "[ "; - static const char * const close = " ]"; - static const char * const delim = " "; - return detail::raw(static_cast(data),size,quote,open,close,delim); -} - -template -detail::iterator iterator(const T &begin, const T &end) -{ - static const char * const quote = ""; - static const char * const open = "[ "; - static const char * const close = " ]"; - static const char * const delim = ", "; - return detail::iterator(begin,end,quote,open,close,delim); -} - -template -detail::iterator iterator(const T &begin, const T &end, const char * const quote) -{ - static const char * const open = "[ "; - static const char * const close = " ]"; - static const char * const delim = ", "; - return detail::iterator(begin,end,quote,open,close,delim); -} - -template -detail::iterator iterator(const T &begin, const T &end, const U "e, const U &open, const U &close, const U &delim) -{ - return detail::iterator(begin,end,quote,open,close,delim); -} - -template -detail::trim trim(const T &str, const U delim, const std::size_t n, const T &prefix = T(""), const T &suffix = T("")) -{ - return detail::trim(str,delim,n,prefix,suffix); -} - -}} - -// -// boost::print::extend namespace for implementing length and write per supported type -// - -namespace boost { namespace print { namespace extend { - -using ::std::size_t; -using ::std::strlen; - -using ::boost::print::detail::binary; -using ::boost::print::detail::octal; -using ::boost::print::detail::hex; -using ::boost::print::detail::pad; -using ::boost::print::detail::left; -using ::boost::print::detail::right; -using ::boost::print::detail::quote; -using ::boost::print::detail::optional; -using ::boost::print::detail::array; -using ::boost::print::detail::raw; -using ::boost::print::detail::iterator; -using ::boost::print::detail::trim; - -using ::boost::print::detail::signed_length; -using ::boost::print::detail::unsigned_length; -using ::boost::print::detail::sprintf_length; -using ::boost::print::detail::write_signed; -using ::boost::print::detail::write_unsigned; -using ::boost::print::detail::write_sprintf; -using ::boost::print::detail::write_binary; -using ::boost::print::detail::write_octal; -using ::boost::print::detail::write_hex; -using ::boost::print::detail::write_iterator; - -// Determine the length (number of characters) for various types - -inline size_t length(bool val) { return val ? 4 : 5; /* true or false */ } - -inline size_t length(unsigned char val) { return unsigned_length(val); } -inline size_t length(unsigned short val) { return unsigned_length(val); } -inline size_t length(unsigned int val) { return unsigned_length(val); } -inline size_t length(unsigned long val) { return unsigned_length(val); } -inline size_t length(unsigned long long val) { return unsigned_length(val); } - -inline size_t length(signed char val) { return signed_length(val); } -inline size_t length(signed short val) { return signed_length(val); } -inline size_t length(signed int val) { return signed_length(val); } -inline size_t length(signed long val) { return signed_length(val); } -inline size_t length(signed long long val) { return signed_length(val); } - -inline size_t length(char ) { return 1; } -inline size_t length(const char *val) { return strlen(val); } - -inline size_t length(const std::string &val) { return val.length(); } - -// Relying on sprintf for float and double, for now - -inline size_t length(const float val) { return sprintf_length("%g",val); } -inline size_t length(const double val) { return sprintf_length("%g",val); } - -// For binary output the length is the number of bytes times eight. - -inline size_t length(const binary &) { return sizeof(char)<<3; } - -inline size_t length(const binary &) { return sizeof(signed char )<<3; } -inline size_t length(const binary &) { return sizeof(signed short )<<3; } -inline size_t length(const binary &) { return sizeof(signed int )<<3; } -inline size_t length(const binary &) { return sizeof(signed long )<<3; } -inline size_t length(const binary &) { return sizeof(signed long long)<<3; } - -inline size_t length(const binary &) { return sizeof(unsigned char )<<3; } -inline size_t length(const binary &) { return sizeof(unsigned short )<<3; } -inline size_t length(const binary &) { return sizeof(unsigned int )<<3; } -inline size_t length(const binary &) { return sizeof(unsigned long )<<3; } -inline size_t length(const binary &) { return sizeof(unsigned long long)<<3; } - -// For octal output the length is the number of bits divided by three - -inline std::size_t octalDigits(const std::size_t bytes) { return ((bytes<<3)+2)/3; } - -inline size_t length(const octal &) { return octalDigits(sizeof(char )); } - -inline size_t length(const octal &) { return octalDigits(sizeof(signed char )); } -inline size_t length(const octal &) { return octalDigits(sizeof(signed short )); } -inline size_t length(const octal &) { return octalDigits(sizeof(signed int )); } -inline size_t length(const octal &) { return octalDigits(sizeof(signed long )); } -inline size_t length(const octal &) { return octalDigits(sizeof(signed long long )); } - -inline size_t length(const octal &) { return octalDigits(sizeof(unsigned char )); } -inline size_t length(const octal &) { return octalDigits(sizeof(unsigned short )); } -inline size_t length(const octal &) { return octalDigits(sizeof(unsigned int )); } -inline size_t length(const octal &) { return octalDigits(sizeof(unsigned long )); } -inline size_t length(const octal &) { return octalDigits(sizeof(unsigned long long)); } - -// For hex output the length is the number of bytes times two. - -inline size_t length(const hex &) { return sizeof(char)<<1; } - -inline size_t length(const hex &) { return sizeof(signed char) <<1; } -inline size_t length(const hex &) { return sizeof(signed short)<<1; } -inline size_t length(const hex &) { return sizeof(signed int) <<1; } -inline size_t length(const hex &) { return sizeof(signed long) <<1; } -inline size_t length(const hex &) { return sizeof(signed long long) <<1; } - -inline size_t length(const hex &) { return sizeof(unsigned char )<<1; } -inline size_t length(const hex &) { return sizeof(unsigned short )<<1; } -inline size_t length(const hex &) { return sizeof(unsigned int )<<1; } -inline size_t length(const hex &) { return sizeof(unsigned long )<<1; } -inline size_t length(const hex &) { return sizeof(unsigned long long)<<1; } - -inline size_t length(const void *) { return (sizeof(void *)<<1); } - -// Pad - -template size_t length(const pad &val) { return val._width; } - -// Left and right - -template size_t length(const left &val) { return std::max(length(*val._val),val._width); } -template size_t length(const right &val) { return std::max(length(*val._val),val._width); } - -// Quoting - -template size_t length(const quote &val) { return *val._val ? length(*val._val) + 2*length(val._q) : 4; /* NULL */ } - -// Optional - -template size_t length(const optional &val) { return val._enabled ? length(val._val) : 0; } - -// Array - -template size_t length(const array &val) -{ - if (!val._data) - return 4; // NULL - - size_t len = length(val._open) + length(val._close) + length(val._quote)*val._size*2; - - if (val._size) - { - const size_t dl = length(val._delim); - - len += length(val._data[0]); - for (size_t j=1; j size_t length(const raw &val) -{ - if (val._data) - { - const size_t words = (val._size+3)/4; - size_t len = length(val._open) + length(val._close); - len += length(val._quote)*2*words; - len += val._size*2; - if (words>1) - len += (words-1)*length(val._delim); - return len; - } - - return 4; // NULL -} - -// Iterator - -template size_t length(const iterator &val) -{ - size_t len = length(val._open) + length(val._close); - - if (val._begin!=val._end) - { - const size_t dl = length(val._delim); - const size_t ql = length(val._quote)*2; - T i = val._begin; - len += length(*i) + ql; - for (++i; i!=val._end; ++i) - len += dl + length(*i) + ql; - } - - return len; -} - -// Trim - -template size_t length(const trim &val) -{ - size_t n = val._n; - const U *i = &val._str[0]; - - if (!val._n || !i) - return 0; - - const size_t pLength = length(val._prefix); // per-line prefix length - - size_t len = pLength; - while (*i) - { - if (*i==val._delim) - { - if ((--n)==0) - return len + length(val._suffix); - len += pLength; - } - - len++; - ++i; - } - return len; -} - -// Write to a std::string (or similar) for various types - -template inline void write(Iterator &i, const bool val) { if (val) { *(i++) = 't'; *(i++) = 'r'; *(i++) = 'u'; *(i++) = 'e'; } else { *(i++) = 'f'; *(i++) = 'a'; *(i++) = 'l'; *(i++) = 's'; *(i++) = 'e'; } } - -template inline void write(Iterator &i, const char val) { *i = val; ++i; } - -template inline void write(Iterator &i, const signed char val) { write_signed(i,val); } -template inline void write(Iterator &i, const signed int val) { write_signed(i,val); } -template inline void write(Iterator &i, const signed short val) { write_signed(i,val); } -template inline void write(Iterator &i, const signed long val) { write_signed(i,val); } -template inline void write(Iterator &i, const signed long long val) { write_signed(i,val); } - -template inline void write(Iterator &i, const unsigned char val) { write_unsigned(i,val); } -template inline void write(Iterator &i, const unsigned int val) { write_unsigned(i,val); } -template inline void write(Iterator &i, const unsigned short val) { write_unsigned(i,val); } -template inline void write(Iterator &i, const unsigned long val) { write_unsigned(i,val); } -template inline void write(Iterator &i, const unsigned long long val) { write_unsigned(i,val); } - -template inline -void write(Iterator &i, const char *val) -{ - const char *j = val; - for (; *j; ++j) - *i = *j; - - i += (j-val); -} - -template<> inline -void write(char *&i, const char *val) -{ - const ::std::size_t size = ::std::strlen(val); // We waste ~33% time here in duplicate strlen - ::std::memcpy(i,val,size); - i += size; -} - -// Unless it's STLPort we can specialize for std::string::iterator - -#ifndef _STLPORT_VERSION -template<> inline -void write(std::string::iterator &i, const char *val) -{ - // if i==string::end() it's a runtime error on Windows VC10 - // to dereference - - if (val[0]!='\0') - { - char *j = &(*i); - write(j,val); - i += j-&(*i); - } -} -#endif - -template inline void write(Iterator &i, const ::std::string &val) { write_iterator(i,val.begin(),val.end()); } - -template inline -void write(Iterator &i, const float val) -{ - write_sprintf(i,"%g",val); -} - -template inline -void write(Iterator &i, const double val) -{ - write_sprintf(i,"%g",val); -} - -// Binary output for known integer types - -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(char)<<3); } - -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(signed char )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(signed short )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(signed int )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(signed long )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(signed long long)<<3); } - -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(unsigned char )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(unsigned short )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(unsigned int )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(unsigned long )<<3); } -template inline void write(Iterator &i, const binary &val) { write_binary(i,*val._val,sizeof(unsigned long long)<<3); } - -// Octal output for known integer types - -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(char))); } - -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(signed char ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(signed short ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(signed int ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(signed long ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(signed long long))); } - -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(unsigned char ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(unsigned short ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(unsigned int ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(unsigned long ))); } -template inline void write(Iterator &i, const octal &val) { write_octal(i,*val._val,octalDigits(sizeof(unsigned long long))); } - -// Hexadecimal output for known integer types - -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(char)<<1,val._upperCase); } - -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(signed char )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(signed short )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(signed int )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(signed long )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(signed long long)<<1,val._upperCase); } - -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(unsigned char )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(unsigned short )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(unsigned int )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(unsigned long )<<1,val._upperCase); } -template inline void write(Iterator &i, const hex &val) { write_hex(i,*val._val,sizeof(unsigned long long)<<1,val._upperCase); } - -template inline void write(Iterator &i, const void *val) -{ - write_hex(i,reinterpret_cast(val),sizeof(size_t)<<1,false); -} - -// Pad - -template -inline void write(Iterator &i, const pad &val) -{ - for (size_t j=0; j -inline void write(Iterator &i, const left &val) -{ - write(i,*val._val); - const size_t len = length(*val._val); - for (size_t j=len; j -inline void write(Iterator &i, const right &val) -{ - const size_t len = length(*val._val); - for (size_t j=len; j -inline void write(Iterator &i, const quote &val) -{ - if (*val._val) - { - write(i,val._q); - write(i,*val._val); - write(i,val._q); - } - else - write(i,"NULL"); -} - -// Optional - -template -inline void write(Iterator &i, const optional &val) -{ - if (val._enabled) - write(i,val._val); -} - -// Array - -template -inline void write(Iterator &i, const array &val) -{ - if (val._data) - { - write(i,val._open); - if (val._size) - { - write(i,val._quote); - write(i,val._data[0]); - write(i,val._quote); - for (size_t j=1; j -inline void write(Iterator &i, const raw &val) -{ - write(i,val._open); - if (val._size) - { - const uint8_t *k = (const uint8_t *) val._data; - - for (size_t j=0; j0) - write(i,val._delim); - write(i,val._quote); - write(i,hex(k[j++])); - if (j(k[j++])); - if (j(k[j++])); - if (j(k[j++])); - write(i,val._quote); - } - } - write(i,val._close); -} - -// Iterator - -template -inline void write(Iterator &i, const iterator &val) -{ - write(i,val._open); - if (val._begin!=val._end) - { - T j = val._begin; - - write(i,val._quote); - write(i,*j); - write(i,val._quote); - - for (++j; j!=val._end; ++j) - { - write(i,val._delim); - write(i,val._quote); - write(i,*j); - write(i,val._quote); - } - } - write(i,val._close); -} - -// Trim - -template -inline void write(Iterator &i, const trim &val) -{ - size_t n = val._n; - const U *j = &val._str[0]; - - if (!val._n || !j) - return; - - write(i,val._prefix); - - while (*j) - { - if (*j==val._delim) - { - if ((--n)==0) - { - write(i,val._suffix); - return; - } - *(i++) = *(j++); - write(i,val._prefix); - } - else - *(i++) = *(j++); - } -} - -// Convenience functions for the length of multiple items - -template -inline size_t length(const A1 &a1, const A2 &a2) -{ return length(a1)+length(a2); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3) -{ return length(a1)+length(a2)+length(a3); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ return length(a1)+length(a2)+length(a3)+length(a4); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28)+length(a29); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28)+length(a29)+length(a30); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28)+length(a29)+length(a30)+length(a31); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28)+length(a29)+length(a30)+length(a31)+length(a32); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28)+length(a29)+length(a30)+length(a31)+length(a32)+length(a33); } - -template -inline size_t length(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33, const A34 &a34) -{ return length(a1)+length(a2)+length(a3)+length(a4)+length(a5)+length(a6)+length(a7)+length(a8)+length(a9)+length(a10)+length(a11)+length(a12)+length(a13)+length(a14)+length(a15)+length(a16)+length(a17)+length(a18)+length(a19)+length(a20)+length(a21)+length(a22)+length(a23)+length(a24)+length(a25)+length(a26)+length(a27)+length(a28)+length(a29)+length(a30)+length(a31)+length(a32)+length(a33)+length(a34); } - -// Convenience functions for writing multiple items - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2) -{ - write(i,a1); - write(i,a2); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3) -{ - write(i,a1); - write(i,a2); - write(i,a3); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12,const A13 &a13) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12,const A13 &a13,const A14 &a14) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12,const A13 &a13,const A14 &a14,const A15 &a15) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); - write(i,a29); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); - write(i,a29); - write(i,a30); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); - write(i,a29); - write(i,a30); - write(i,a31); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); - write(i,a29); - write(i,a30); - write(i,a31); - write(i,a32); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); - write(i,a29); - write(i,a30); - write(i,a31); - write(i,a32); - write(i,a33); -} - -template -inline void write(Iterator &i, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33, const A34 &a34) -{ - write(i,a1); - write(i,a2); - write(i,a3); - write(i,a4); - write(i,a5); - write(i,a6); - write(i,a7); - write(i,a8); - write(i,a9); - write(i,a10); - write(i,a11); - write(i,a12); - write(i,a13); - write(i,a14); - write(i,a15); - write(i,a16); - write(i,a17); - write(i,a18); - write(i,a19); - write(i,a20); - write(i,a21); - write(i,a22); - write(i,a23); - write(i,a24); - write(i,a25); - write(i,a26); - write(i,a27); - write(i,a28); - write(i,a29); - write(i,a30); - write(i,a31); - write(i,a32); - write(i,a33); - write(i,a34); -} - -}}} - -#endif - diff --git a/src/boost/boost/print/json.hpp b/src/boost/boost/print/json.hpp deleted file mode 100644 index 8c20c5f..0000000 --- a/src/boost/boost/print/json.hpp +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright (c) 2010-2013 NVIDIA Corporation - * Copyright (c) 2010-2013 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_JSON_HPP -#define BOOST_PRINT_JSON_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include - -#include -#include -#include - -// See: http://www.json.org/ - -namespace boost { namespace print { namespace json { - - using ::boost::print::pad; - - template< typename T = ::std::string > - struct output : public ::boost::print::string_list< T > - { - public: - inline output() : _empty(true), _nesting(0) {} - - // Each nested object must be concluded with a call to end() - - inline void object(); - template< typename N > void object(const N &name); - inline void end(); - - template< typename N > void member(const N &name); // name : null - template< typename N > void member(const N &name, const char *val); // name : "the text" - template< typename N > void member(const N &name, const ::std::string &val); // name : "the text" - template< typename N > void member(const N &name, const N &val); // name : "the text" - - template< typename N, typename V > void member(const N &name, const V &val); - - private: - bool _empty; - size_t _nesting; - }; - - template< typename T> - void output::object() - { - T tmp; - print(tmp, pad(_nesting), "{"); - ::boost::print::string_list::push_back_swap(tmp); - _empty = true; - _nesting++; - } - - template< typename T> - template< typename N > - void output::object(const N &name) - { - T tmp; - print(tmp, _empty ? "\n" : ",\n", pad(_nesting), "\"", name, "\" : {"); - ::boost::print::string_list::push_back_swap(tmp); - _empty = true; - _nesting++; - } - - template< typename T> - void output::end() - { - if (_nesting--) - { - T tmp; - print(tmp, "\n", pad(_nesting), "}"); - ::boost::print::string_list::push_back_swap(tmp); - } - } - - template< typename T> - template< typename N > - void output::member(const N &name) - { - T tmp; - print(tmp, _empty ? "\n" : ",\n", pad(_nesting), "\"", name, "\" : null"); - ::boost::print::string_list::push_back_swap(tmp); - _empty = false; - } - - template< typename T> - template< typename N > - void output::member(const N &name, const char *val) - { - T tmp; - print(tmp, _empty ? "\n" : ",\n", pad(_nesting), "\"", name, "\" : \"",val,"\""); - ::boost::print::string_list::push_back_swap(tmp); - _empty = false; - } - - template< typename T> - template< typename N > - void output::member(const N &name, const ::std::string &val) - { - T tmp; - print(tmp, _empty ? "\n" : ",\n", pad(_nesting), "\"", name, "\" : \"",val,"\""); - ::boost::print::string_list::push_back_swap(tmp); - _empty = false; - } - - template< typename T> - template< typename N > - void output::member(const N &name, const N &val) - { - T tmp; - print(tmp, _empty ? "\n" : ",\n", pad(_nesting), "\"", name, "\" : \"",val,"\""); - ::boost::print::string_list::push_back_swap(tmp); - _empty = false; - } - - template< typename T> - template< typename N, typename U > - void output::member(const N &name, const U &val) - { - T tmp; - print(tmp,_empty ? "\n" : ",\n", pad(_nesting), "\"", name, "\" : ",val); - ::boost::print::string_list::push_back_swap(tmp); - _empty = false; - } - -}}} - -#endif diff --git a/src/boost/boost/print/print_c_str.hpp b/src/boost/boost/print/print_c_str.hpp deleted file mode 100644 index 0ad2ab2..0000000 --- a/src/boost/boost/print/print_c_str.hpp +++ /dev/null @@ -1,284 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_PRINT_C_STR_HPP -#define BOOST_PRINT_PRINT_C_STR_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include - -#include // malloc -#include // diffptr_t -#include // assert - -namespace boost { namespace print { - -// specialized print to char * or wchar * - -template -size_t print(T *output) -{ - if (output) output[0] = '\0'; - return 0; -} - -template -size_t print(T *output, const A1 &a1) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1); - if (output) - { - T *i = output; - write(i,a1); - assert(i-output==static_cast(len)); - output[0] = '\0'; - } - return len; -} - -template -size_t print(char *output, const A1 &a1, const A2 &a2) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2); - if (output) - { - T *i = output; - write(i,a1,a2); - assert(i-output==static_cast(len)); - output[0] = '\0'; - } - return len; -} - -template -size_t print(char *output, const A1 &a1, const A2 &a2, const A3 &a3) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3); - if (output) - { - T *i = output; - write(i,a1,a2,a3); - assert(i-output==static_cast(len)); - output[0] = '\0'; - } - return len; -} - -template -size_t print(char *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4); - if (output) - { - T *i = output; - write(i,a1,a2,a3,a4); - assert(i-output==static_cast(len)); - output[0] = '\0'; - } - return len; -} - -template -size_t print(char *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5); - if (output) - { - T *i = output; - write(output,a1,a2,a3,a4,a5); - assert(i-output==static_cast(len)); - output[0] = '\0'; - } - return len; -} - -// boost::print::print_c_str - -inline char *print_c_str() -{ - char *tmp = (char *) std::malloc(1); - *tmp = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4,a5); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5,a6); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4,a5,a6); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5,a6,a7); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4,a5,a6,a7); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5,a6,a7,a8); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4,a5,a6,a7,a8); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5,a6,a7,a8,a9); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -template -char *print_c_str(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - const std::size_t len = length(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - char *tmp = (char *) std::malloc(len+1); - char *i = tmp; - write(i,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - assert(i-tmp==static_cast(len)); - *i = '\0'; - return tmp; -} - -}} - -#endif diff --git a/src/boost/boost/print/print_char_vector.hpp b/src/boost/boost/print/print_char_vector.hpp deleted file mode 100644 index 726e0c2..0000000 --- a/src/boost/boost/print/print_char_vector.hpp +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_CHAR_VECTOR_HPP -#define BOOST_PRINT_CHAR_VECTOR_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include - -#include // std::vector - -namespace boost { namespace print { - -// print_char_vector - -template -std::vector print_char_vector(const A1 &a1) -{ - return print_cast< std::vector >(a1); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2) -{ - return print_cast< std::vector >(a1,a2); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3) -{ - return print_cast< std::vector >(a1,a2,a3); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - return print_cast< std::vector >(a1,a2,a3,a4); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - return print_cast< std::vector >(a1,a2,a3,a4,a5); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - return print_cast< std::vector >(a1,a2,a3,a4,a5,a6); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - return print_cast< std::vector >(a1,a2,a3,a4,a5,a6,a7); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - return print_cast< std::vector >(a1,a2,a3,a4,a5,a6,a7,a8); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - return print_cast< std::vector >(a1,a2,a3,a4,a5,a6,a7,a8,a9); -} - -template -std::vector print_char_vector(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - return print_cast< std::vector >(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); -} - -}} -#endif diff --git a/src/boost/boost/print/print_file.hpp b/src/boost/boost/print/print_file.hpp deleted file mode 100644 index cbf1bdb..0000000 --- a/src/boost/boost/print/print_file.hpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_FILE_HPP -#define BOOST_PRINT_FILE_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include - -#include - -// specialized print to FILE * - -namespace boost { namespace print { - -inline ::std::size_t print(std::FILE *output) -{ - return 0; -} - -template -::std::size_t print(std::FILE *output, const A1 &a1) -{ - ::std::string tmp; - print(tmp,a1); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2) -{ - ::std::string tmp; - print(tmp,a1,a2); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3) -{ - ::std::string tmp; - print(tmp,a1,a2,a3); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -template -::std::size_t print(std::FILE *output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ - ::std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); - ::std::fprintf(output,"%s",tmp.c_str()); - return tmp.length(); -} - -// - -}} -#endif diff --git a/src/boost/boost/print/print_ostream.hpp b/src/boost/boost/print/print_ostream.hpp deleted file mode 100644 index ad18f89..0000000 --- a/src/boost/boost/print/print_ostream.hpp +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_OSTREAM_HPP -#define BOOST_PRINT_OSTREAM_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include -#include - -#include - -// specialized print to std::ostream - -namespace boost { namespace print { - -inline size_t print(std::ostream &output) -{ - return 0; -} - -template -size_t print(std::ostream &output, const A1 &a1) -{ - std::string tmp; - print(tmp,a1); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2) -{ - std::string tmp; - print(tmp,a1,a2); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3) -{ - std::string tmp; - print(tmp,a1,a2,a3); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4,a5); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9); - output << tmp; - return tmp.length(); -} - -template -size_t print(std::ostream &output, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - std::string tmp; - print(tmp,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); - output << tmp; - return tmp.length(); -} - -}} - -#endif diff --git a/src/boost/boost/print/print_string.hpp b/src/boost/boost/print/print_string.hpp deleted file mode 100644 index b138b36..0000000 --- a/src/boost/boost/print/print_string.hpp +++ /dev/null @@ -1,241 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_STRING_HPP -#define BOOST_PRINT_STRING_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include - -#include - -// boost::print::print_string is boost::print::print_cast - -namespace boost { namespace print { - -inline -std::string print_string() -{ - return print_cast(); -} - -template -std::string print_string(const A1 &a1) -{ - return print_cast(a1); -} - -template -std::string print_string(const A1 &a1, const A2 &a2) -{ - return print_cast(a1,a2); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3) -{ - return print_cast(a1,a2,a3); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) -{ - return print_cast(a1,a2,a3,a4); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) -{ - return print_cast(a1,a2,a3,a4,a5); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) -{ - return print_cast(a1,a2,a3,a4,a5,a6); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33); -} - -template -std::string print_string(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10, const A11 &a11, const A12 &a12, const A13 &a13, const A14 &a14, const A15 &a15, const A16 &a16, const A17 &a17, const A18 &a18, const A19 &a19, const A20 &a20, const A21 &a21, const A22 &a22, const A23 &a23, const A24 &a24, const A25 &a25, const A26 &a26, const A27 &a27, const A28 &a28, const A29 &a29, const A30 &a30, const A31 &a31, const A32 &a32, const A33 &a33, const A34 &a34) -{ - return print_cast(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34); -} - -}} - -#endif diff --git a/src/boost/boost/print/print_vector.hpp b/src/boost/boost/print/print_vector.hpp deleted file mode 100644 index c8fb9d3..0000000 --- a/src/boost/boost/print/print_vector.hpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_CHAR_VECTOR_HPP -#define BOOST_PRINT_CHAR_VECTOR_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include - -#include // std::vector - -namespace boost { namespace print { - -// print_char_vector - -template -std::vector print_char_vector(A1 a1) -{ - return print_cast< std::vector >(a1); -} - -}} -#endif diff --git a/src/boost/boost/print/printf.hpp b/src/boost/boost/print/printf.hpp deleted file mode 100644 index 95fa82b..0000000 --- a/src/boost/boost/print/printf.hpp +++ /dev/null @@ -1,372 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_PRINTF_HPP -#define BOOST_PRINT_PRINTF_HPP - -#if defined(_MSC_VER) && (_MSC_VER>=1200) -#pragma once -#endif - -#include -#include - -#include -#include - -#if defined(__SUNPRO_C) || defined(__SUNPRO_CC) -#include -#endif - -// -// boost::print namespace for public API -// - -namespace boost { namespace print { - -#if defined(_MSC_VER) && _MSC_VER < 1800 -inline void va_copy(std::va_list &d, std::va_list &s) { d = s; } -#endif - -// Generic printf - -template -size_t printf(T &output, const char *fmt, std::va_list &args) -{ - using boost::print::extend::length; - using boost::print::extend::write; - - output.clear(); - - if (!fmt) - return 0; - - std::va_list tmp; - va_copy(tmp,args); - - std::size_t size = 0; - for (const char *i = fmt; *i; ) - { - while (*i!='%' && *i) - { - ++i; - ++size; - } - if (i[0]=='%') - { - if (i[1]=='%') - { - size += length('%'); - i += 2; - continue; - } - if (i[1]=='c') - { - size += length(static_cast(va_arg(tmp,int))); - i += 2; - continue; - } - if (i[1]=='s') - { - size += length(va_arg(tmp,char *)); - i += 2; - continue; - } - if (i[1]=='d') - { - size += length(va_arg(tmp,int)); - i += 2; - continue; - } - if (i[1]=='i') - { - size += length(va_arg(tmp,int)); - i += 2; - continue; - } - if (i[1]=='u') - { - size += length(va_arg(tmp,unsigned int)); - i += 2; - continue; - } - if (i[1]=='l' && (i[2]=='d' || i[2]=='i')) - { - size += length(va_arg(tmp,long)); - i += 3; - continue; - } - if (i[1]=='x') - { - size += length(hex(va_arg(tmp,unsigned int))); - i += 2; - continue; - } - if (i[1]=='X') - { - size += length(hex(va_arg(tmp,unsigned int),true)); - i += 2; - continue; - } - if (i[1]=='#' && i[2]=='x') - { - size += length(hex(va_arg(tmp,unsigned int))) + 2; - i += 3; - continue; - } - if (i[1]=='#' && i[2]=='X') - { - size += length(hex(va_arg(tmp,unsigned int),true)) + 2; - i += 3; - continue; - } - if (i[1]=='o') - { - size += length(octal(va_arg(tmp,unsigned int))); - i += 2; - continue; - } - if (i[1]=='#' && i[2]=='o') - { - size += length(octal(va_arg(tmp,unsigned int))) + 1; - i += 3; - continue; - } - if (i[1]=='e' || i[1]=='E' || i[1]=='f' || i[1]=='F' || i[1]=='g' || i[1]=='G') - { - size += length(va_arg(tmp,double)); - i += 2; - continue; - } - if (i[1]=='p') - { - size += length(va_arg(tmp,void *)) + 2; - i += 2; - continue; - } - if (i[1]=='t' && (i[2]=='d' || i[2]=='i')) - { - size += length(va_arg(tmp,std::ptrdiff_t)); - i += 3; - continue; - } - if (i[1]=='t' && i[2]=='u') - { - size += length(va_arg(tmp,std::size_t)); - i += 3; - continue; - } - if (i[1]=='z' && (i[2]=='d' || i[2]=='i')) - { - size += length(va_arg(tmp,std::ptrdiff_t)); - i += 3; - continue; - } - if (i[1]=='z' && i[2]=='u') - { - size += length(va_arg(tmp,std::size_t)); - i += 3; - continue; - } - } - if (*i) - { - ++i; - ++size; - } - } - - va_end(tmp); - - output.resize(size,' '); - - typename T::iterator j = output.begin(); - - va_copy(tmp,args); - - for (const char *i = fmt; *i; ) - { - while (*i!='%' && *i) - { - write(j,*i); - ++i; - } - if (i[0]=='%') - { - if (i[1]=='%') - { - write(j,'%'); - i += 2; - continue; - } - if (i[1]=='c') - { - write(j,static_cast(va_arg(tmp,int))); - i += 2; - continue; - } - if (i[1]=='s') - { - write(j,va_arg(tmp,const char *)); - i += 2; - continue; - } - if (i[1]=='d') - { - write(j,va_arg(tmp,int)); - i += 2; - continue; - } - if (i[1]=='i') - { - write(j,va_arg(tmp,int)); - i += 2; - continue; - } - if (i[1]=='u') - { - write(j,va_arg(tmp,unsigned int)); - i += 2; - continue; - } - if (i[1]=='l' && (i[2]=='d' || i[2]=='i')) - { - write(j,va_arg(tmp,long)); - i += 3; - continue; - } - if (i[1]=='x') - { - write(j,hex(va_arg(tmp,unsigned int))); - i += 2; - continue; - } - if (i[1]=='X') - { - write(j,hex(va_arg(tmp,unsigned int),true)); - i += 2; - continue; - } - if (i[1]=='#' && i[2]=='x') - { - write(j,"0x"); - write(j,hex(va_arg(tmp,unsigned int))); - i += 3; - continue; - } - if (i[1]=='#' && i[2]=='X') - { - write(j,"0X"); - write(j,hex(va_arg(tmp,unsigned int),true)); - i += 3; - continue; - } - if (i[1]=='o') - { - write(j,octal(va_arg(tmp,unsigned int))); - i += 2; - continue; - } - if (i[1]=='#' && i[2]=='o') - { - write(j,'0'); - write(j,octal(va_arg(tmp,unsigned int))); - i += 3; - continue; - } - if (i[1]=='e' || i[1]=='E' || i[1]=='f' || i[1]=='F' || i[1]=='g' || i[1]=='G') - { - write(j,va_arg(tmp,double)); - i += 2; - continue; - } - if (i[1]=='p') - { - write(j,"0x"); - write(j,va_arg(tmp,void *)); - i += 2; - continue; - } - if (i[1]=='t' && (i[2]=='d' || i[2]=='i')) - { - write(j,va_arg(tmp,std::ptrdiff_t)); - i += 3; - continue; - } - if (i[1]=='t' && i[2]=='u') - { - write(j,va_arg(tmp,std::size_t)); - i += 3; - continue; - } - if (i[1]=='z' && (i[2]=='d' || i[2]=='i')) - { - write(j,va_arg(tmp,std::ptrdiff_t)); - i += 3; - continue; - } - if (i[1]=='z' && i[2]=='u') - { - write(j,va_arg(tmp,std::size_t)); - i += 3; - continue; - } - } - if (*i) - { - write(j,*i); - ++i; - } - } - - va_end(tmp); - - return size; -} - -template -size_t printf(T &output, const char *fmt, ...) -{ - std::va_list args; - va_start(args,fmt); - size_t ret = boost::print::printf(output,fmt,args); - va_end(args); - - return ret; -} - -// - -template -T printf_cast(const char *fmt, std::va_list &args) -{ - T tmp; - boost::print::printf(tmp,fmt,args); - return tmp; -} - -template -T printf_cast(const char *fmt, ...) -{ - std::va_list args; - va_start(args,fmt); - T tmp; - boost::print::printf(tmp,fmt,args); - va_end(args); - return tmp; -} - -}} - -#endif - diff --git a/src/boost/boost/print/std.hpp b/src/boost/boost/print/std.hpp deleted file mode 100644 index 9f91a99..0000000 --- a/src/boost/boost/print/std.hpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_STD_HPP -#define BOOST_PRINT_STD_HPP - -#include - -#include "print_file.hpp" - -// -// boost::print::std namespace for ostream emulation via std::FILE -// - -namespace boost { namespace print { namespace std { - -class ostream -{ -public: - ostream() : _file(NULL) {} - ostream(::std::FILE *file) : _file(file) {} - ostream(const ostream &other) : _file(other._file) {} - - template - ostream &operator<<(const T &in) - { - if (_file) - boost::print::print(_file,in); - return *this; - } - - ostream &flush() { if (_file) ::std::fflush(_file); return *this; } - -private: - ::std::FILE *_file; -}; - -class ofstream : public ostream -{ -public: - ofstream() : ostream() {} - ofstream(const char * filename) : ostream(::std::fopen(filename,"r")) {} - ofstream(const ofstream &other) : ostream() {} - ~ofstream() { /* close the file? */ } - - ofstream &close() { return *this; } -}; - -class strstream -{ -public: - strstream() : _str(NULL), _pos(NULL), _end(NULL) {} - strstream(char *str, int n) : _str(str), _pos(str), _end(str+n) { if (_pos<_end) *_pos = '\0'; } // Output only - ~strstream() {} - - int pcount() const { return int(_pos-_str); } - - char *str() const { return _str; } - - template - strstream &operator<<(const T &val) - { - if (_pos<_end) - { - ::std::size_t n = boost::print::print_buffer(_pos, _end-_pos, val); - if (_pos + n < _end) - _pos += n; - } - return *this; - } - -private: - char *_str; - char *_pos; - char *_end; -}; - -const char endl = '\n'; - -} } } - -#endif diff --git a/src/boost/boost/print/string_list.hpp b/src/boost/boost/print/string_list.hpp deleted file mode 100644 index 0efde05..0000000 --- a/src/boost/boost/print/string_list.hpp +++ /dev/null @@ -1,566 +0,0 @@ -/* - * Copyright (c) 2010-2012 NVIDIA Corporation - * Copyright (c) 2010-2012 Nigel Stewart - * All rights reserved. - * - * Distributed under the Boost Software License, Version 1.0. - * (See accompanying file LICENSE_1_0.txt or copy at - * http://www.boost.org/LICENSE_1_0.txt) - * - * boost::print is a library for string conversion. - * boost::print is not currently a part of boost. - */ - -#ifndef BOOST_PRINT_STRING_LIST_HPP -#define BOOST_PRINT_STRING_LIST_HPP - -#include -#include -#include -#include -#include - -#include - -#include "core.hpp" - -// -// boost::print namespace for public API -// - -namespace boost { namespace print { - -template -struct string_list -{ -public: - typedef const T value_type; - typedef const T &const_reference; - typedef char char_type; - typedef typename ::std::deque::iterator iterator; - typedef typename ::std::deque::const_iterator const_iterator; - typedef typename ::std::deque::reverse_iterator reverse_iterator; - typedef typename ::std::deque::const_reverse_iterator const_reverse_iterator; - typedef ::std::size_t size_type; - - string_list(); - string_list(const string_list &other); - string_list(const T &input, const char_type delim = ' '); - string_list(const size_t count, const char_type * const *string, const int *length = NULL, const typename string_list::char_type delim = 0); - ~string_list(); - - string_list &operator=(const string_list &other); - - void clear(); - - void push_front (const typename string_list::char_type *string); - void push_front (const typename string_list::char_type *string, const size_t n); - void push_front (const T &string); - void push_front_swap( T &string); - void push_front (const string_list &other ); - - void push_back (const typename string_list::char_type *string); - void push_back (const typename string_list::char_type *string, const size_t n); - void push_back (const T &string); - void push_back_swap ( T &string); - void push_back (const string_list &other ); - - void push_back(const size_t count, const char_type * const *string, const int *length = NULL, const typename string_list::char_type delim = 0); - - void insert(const size_type i, const value_type &x); - void insert(const size_type i, const string_list &other); - void insert(const size_type i, const size_type n, const value_type &x); - - void pop_front(); - void pop_back(); - - template - string_list & - operator<<(I i) - { - PushBack p(*this); - ::boost::print::print(static_cast(p),i); - return *this; - } - - template - string_list & - operator+=(I i) - { - PushBack p(*this); - ::boost::print::print(static_cast(p),i); - return *this; - } - - void sort(); - - void split(const T &input, const char_type delim = ' '); - void split(const typename string_list::char_type *input, const char_type delim = ' '); - void split(const typename string_list::char_type *input, const size_t n, const char_type delim = ' '); - - T join(const char_type *delim = NULL) const; - T join(const T &delim ) const; - T str() const; - - operator T () const { return str(); } - - size_type size() const; - size_type count() const; - - typename string_list::const_iterator begin() const; - typename string_list::const_iterator end () const; - - T &operator[](const size_type i); - const T &operator[](const size_type i) const; - - // Zero-copy push_front to string_list - - struct PushFront : public T - { - public: - inline PushFront(string_list &list) : _list(list) {} - inline ~PushFront() - { - if (T::length()) - { - _list._list.push_front(T()); - _list._list.front().swap(*this); - } - } - - private: - PushFront(); // Not implemented - PushFront &operator=(const PushFront &other); // Not implemented - - string_list &_list; - }; - - // Zero-copy push_back to string_list - - struct PushBack : public T - { - public: - inline PushBack(string_list &list) : _list(list) {} - inline ~PushBack() - { - if (T::length()) - { - _list._list.push_back(T()); - _list._list.back().swap(*this); - } - } - - private: - PushBack(); // Not implemented - PushBack &operator=(const PushBack &other); // Not implemented - - string_list &_list; - }; - - static const char_type endl = '\n'; - - friend struct string_list::PushFront; - friend struct string_list::PushBack; - -private: - ::std::deque _list; -}; - -namespace detail { - -// Join any container of std::string - -template -T -join(const C &container, const T &delim) -{ - // Determine the required length - - ::std::size_t size = 0; - for (typename C::const_iterator i = container.begin(); i!=container.end(); ++i) - size += i->length() + delim.length(); - - if (size) - size -= delim.length(); - - if (!size) - return T(); - - // Allocate sufficient space up front - - T tmp; - tmp.reserve(size); - -#ifndef NDEBUG - const ::std::size_t capacity = tmp.capacity(); -#endif - - // Copy the strings into the output - - for (typename C::const_iterator i = container.begin(); i!=container.end(); ++i) - { - if (i!=container.begin()) - tmp += delim; - tmp += *i; - } - - assert(tmp.length() == size); // Length is as expected. - assert(tmp.capacity() == capacity); // Did not need to realloc. - - return tmp; -} - -} - -template string_list::string_list() { } -template string_list::string_list(const string_list &other) : _list(other._list) { } - -template string_list::string_list(const T &input, const char_type delim) -{ - split(input,delim); -} - -template string_list::string_list(const size_t count, const char_type * const *string, const int *length, const typename string_list::char_type delim) -{ - push_back(count,string,length,delim); -} - -template string_list::~string_list() { _list.clear(); } - -template string_list & -string_list::operator=(const string_list &other) -{ - if (this!=&other) - _list = other._list; - - return *this; -} - -template void string_list::clear() { _list.clear(); } - -template void -string_list::push_front(const typename string_list::char_type *string) -{ - PushFront(*this).assign(string ? string : T(NULL)); -} - -template void -string_list::push_front(const typename string_list::char_type *string, const size_t n) -{ - if (string && n) - { - PushFront(*this).assign(string,n); - } - else - { - PushBack(*this); - } -} - -template void string_list::push_front(const T &string) -{ - PushFront(*this).assign(string); -} - -template void string_list::push_front_swap(T &string) -{ - PushFront(*this).swap(string); -} - -template void string_list::push_front(const string_list &other) -{ - for (const_iterator i = other.begin(); i!=other.end(); ++i) - { - PushFront(*this).assign(*i); - } -} - -template void -string_list::push_back(const typename string_list::char_type *string) -{ - PushBack(*this).assign(string ? string : T(NULL)); -} - -template void -string_list::push_back(const typename string_list::char_type *string, const size_t n) -{ - if (string && n) - { - PushBack(*this).assign(string,n); - } - else - { - PushBack(*this); - } -} - -template void string_list::push_back(const T &string) -{ - PushBack(*this).assign(string); -} - -template void string_list::push_back_swap(T &string) -{ - PushBack(*this).swap(string); -} - -template void string_list::push_back(const string_list &other) -{ - for (const_iterator i = other.begin(); i!=other.end(); ++i) - { - PushBack(*this).assign(*i); - } -} - -template void string_list::push_back(const size_t count, const char_type * const *string, const int *length, const typename string_list::char_type delim) -{ - if (delim) - { - for (size_t i=0; i=0) - split(string[i],length[i], delim); - else - split(string[i], delim); - } - else - { - for (size_t i=0; i=0) - { - PushBack(*this).assign(string[i] ? T(string[i],length[i]) : T()); - } - else - { - PushBack(*this).assign(string[i] ? T(string[i]) : T()); - } - } -} - -template void string_list::insert(const size_type i, const value_type &x) -{ - if (i<=_list.size()) - { - _list.push_back(x); // Append to the end - - const size_type m = _list.size()-i-1; - reverse_iterator i = _list.rbegin(); - reverse_iterator j = _list.rbegin(); - ++j; - - for (size_type k=0; k void string_list::insert(const size_type i, const string_list &other) -{ - const size_type n = other.size(); - - if (this!=&other && i>=0 && i<=_list.size() && n>0) - { - const size_type m = _list.size()-i; - for (size_type k=0; k void string_list::insert(const size_type i, const size_type n, const value_type &x) -{ - if (i<=_list.size() && n>0) - { - const size_type m = _list.size()-i; - for (size_type k=0; k void string_list::pop_front() { _list.pop_front(); } -template void string_list::pop_back () { _list.pop_back(); } - -template void string_list::sort() -{ - typename ::std::deque::iterator i; - typename ::std::vector::iterator j; - - // swap-copy the strings into a std::vector - - ::std::vector tmp; - tmp.resize(_list.size()); - const typename ::std::vector::iterator jEnd = tmp.end(); - - i = _list.begin(); - j = tmp.begin(); - for (; j!=jEnd; ++i, ++j) - i->swap(*j); - - // Do the sort - - ::std::sort(tmp.begin(),tmp.end()); - - // swap-copy the strings back into the std::deque - - i = _list.begin(); - j = tmp.begin(); - for (; j!=jEnd; ++i, ++j) - i->swap(*j); -} - -template void -string_list::split(const T &input, const typename string_list::char_type delim) -{ - // Skip past any delims at the beginning of the string - typename T::size_type start = input.find_first_not_of( delim, 0 ); - typename T::size_type end; - - // input was a null string - if (start==T::npos) - return; - - for (;;) - { - end = input.find(delim, start); - - std::string tmp = input.substr(start,end - start); - PushBack(*this).swap(tmp); - - // Last token if there were no trailing delims - if (end==T::npos) - break; - - // Skip past any extra delims - start = input.find_first_not_of(delim,end+1); - - // We had trailing delims and we're now at the end of the string - if (start==T::npos) - break; - } -} - -template void -string_list::split(const typename string_list::char_type *input, const char_type delim) -{ - // input was a null string - if (!input || !(*input)) - return; - - // Skip past any delims at the beginning of the string - - const typename string_list::char_type *i = input; - while (*i && (*i)==delim) - ++i; - - for (;;) - { - const typename string_list::char_type *j = i; - while (*j && (*j)!=delim) - ++j; - - PushBack(*this).assign(i,j-i); - - // Last token if there were no trailing delims - if (!(*j)) - break; - - // Skip past any extra delims - i = j+1; - while (*i && (*i)==delim) - ++i; - - // We had trailing delims and we're now at the end of the string - if (!(*i)) - break; - } -} - -template void -string_list::split(const typename string_list::char_type *input, const size_t n, const char_type delim) -{ - // input was a null string - if (!input || !(*input) || !n) - return; - - // Skip past any delims at the beginning of the string - - size_t i = 0; - while (i T string_list::join(const typename string_list::char_type *delim) const -{ - return boost::print::detail::join(_list,delim ? T(delim) : T()); -} - -template T string_list::join(const T &delim) const -{ - return join(delim.c_str()); -} - -template T string_list::str() const -{ - return join(); -} - -template typename string_list::size_type string_list::size() const { return _list.size(); } - -template typename string_list::size_type -string_list::count() const -{ - typename string_list::size_type tmp = 0; - for (typename ::std::deque::const_iterator i=_list.begin(); i!=_list.end(); ++i) - tmp += i->length(); - return tmp; -} - -template typename string_list::const_iterator string_list::begin() const { return _list.begin(); } -template typename string_list::const_iterator string_list::end() const { return _list.end(); } - -template T &string_list::operator[](const size_type i) { assert(i const T &string_list::operator[](const size_type i) const { assert(i - -#include "RegalDispatcher.h" - -using namespace ::std; - -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - -// class removed - -REGAL_NAMESPACE_END diff --git a/src/regal/RegalDispatcher.h b/src/regal/RegalDispatcher.h deleted file mode 100644 index 7f68de7..0000000 --- a/src/regal/RegalDispatcher.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - Copyright (c) 2011-2013 NVIDIA Corporation - Copyright (c) 2011-2013 Cass Everitt - Copyright (c) 2012-2013 Scott Nations - Copyright (c) 2012 Mathias Schott - Copyright (c) 2012-2013 Nigel Stewart - Copyright (c) 2012-2013 Google Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef __REGAL_DISPATCHER_H__ -#define __REGAL_DISPATCHER_H__ - -#include "RegalUtil.h" - -REGAL_GLOBAL_BEGIN - -#include - -#include "RegalDispatch.h" - -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - -// class removed - -REGAL_NAMESPACE_END - -#endif // __REGAL_DISPATCHER__ diff --git a/src/regal/RegalDispatcherGL.cpp b/src/regal/RegalDispatcherGL.cpp deleted file mode 100644 index 95f9556..0000000 --- a/src/regal/RegalDispatcherGL.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* - Copyright (c) 2011-2013 NVIDIA Corporation - Copyright (c) 2011-2013 Cass Everitt - Copyright (c) 2012-2013 Scott Nations - Copyright (c) 2012 Mathias Schott - Copyright (c) 2012-2013 Nigel Stewart - Copyright (c) 2012-2013 Google Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include "pch.h" /* For MS precompiled header support */ - -#include "RegalUtil.h" - -REGAL_GLOBAL_BEGIN - -#include - -#include "RegalConfig.h" -#include "RegalDispatcherGL.h" - -using namespace ::std; - -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - -void InitDispatchGL() { -/* - // start building the dispatch up from the bottom (driver) - // each dispatch layer needs to: - // 1. grab all the function pointers it needs to be able to call - // 2. replace all the function pointers it wants to override - - RegalContext *ctx = REGAL_GET_CONTEXT(); - RegalAssert( ctx ); - - if( ctx == NULL ) { - return; // can't initialize without a context - } - - Loader::Init( ctx ); // Desktop/ES2.0 loader - -#if 0 // Need to add back support for restricted driver subsets -#if REGAL_STATIC_ES2 - InitDispatchTableStaticES2(ctx); // ES 2.0 functions only -#elif REGAL_SYS_PPAPI - InitDispatchTablePpapi(ctx); // ES 2.0 functions only -#endif -#endif - - -#if REGAL_LOG - if( Config::enableLog ) { - InitDispatchTableLog( ctx ); - } -#endif - -#if REGAL_STATISTICS - if( Config::enableStatistics ) { - InitDispatchTableStatistics( ctx ); - } -#endif - -#if REGAL_CODE - if( Config::enableCode ) { - InitDispatchTableCode( ctx ); - } -#endif - -#if REGAL_CACHE - if( true ) { - InitDispatchTableCache( ctx ); - } -#endif - - // Optionally move the error checking dispatch to downstream of emulation. - // This can be helpful for debugging Regal emulation -#if REGAL_ERROR_POST_EMU -#if REGAL_ERROR - if( Config::enableError ) { - InitDispatchTableError( ctx ); - } -#endif -#endif - -#if REGAL_EMULATION - if( Config::enableEmulation || Config::forceEmulation ) { - InitDispatchTableEmu( ctx ); // emulated functions only - } -#endif - -#if ! REGAL_ERROR_POST_EMU -#if REGAL_DEBUG - if( Config::enableDebug ) { - InitDispatchTableDebug( ctx ); - } -#endif -#endif - -#if REGAL_HTTP - if( Config::enableHttp ) { - InitDispatchTableHttp( ctx ); - } -#endif - -#if REGAL_TRACE - if( Config::enableTrace) { - InitDispatchTableTrace( ctx ); - } -#endif - - - */ - - - - - - - - -} - -REGAL_NAMESPACE_END diff --git a/src/regal/RegalDispatcherGL.h b/src/regal/RegalDispatcherGL.h deleted file mode 100644 index be63c35..0000000 --- a/src/regal/RegalDispatcherGL.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - Copyright (c) 2011-2013 NVIDIA Corporation - Copyright (c) 2011-2013 Cass Everitt - Copyright (c) 2012-2013 Scott Nations - Copyright (c) 2012 Mathias Schott - Copyright (c) 2012-2013 Nigel Stewart - Copyright (c) 2012-2013 Google Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef __REGAL_DISPATCHER_GL_H__ -#define __REGAL_DISPATCHER_GL_H__ - -#include "RegalUtil.h" - -REGAL_GLOBAL_BEGIN - -#include - -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - -struct RegalContext; - -void InitDispatchGL(); - -// regaltest needs these declarations too - -extern void InitDispatchTableCode (RegalContext *ctx); -extern void InitDispatchTableDebug (RegalContext *ctx); -extern void InitDispatchTableError (RegalContext *ctx); -extern void InitDispatchTableEmu (RegalContext *ctx); -extern void InitDispatchTableLog (RegalContext *ctx); -extern void InitDispatchTablePpapi (RegalContext *ctx); -extern void InitDispatchTableStatistics(RegalContext *ctx); -extern void InitDispatchTableStaticES2 (RegalContext *ctx); -extern void InitDispatchTableCache (RegalContext *ctx); -extern void InitDispatchTableTrace (RegalContext *ctx); -extern void InitDispatchTableHttp (RegalContext *ctx); - -namespace Loader { extern void Init(RegalContext *ctx); } -namespace Missing { extern void Init(RegalContext *ctx); } - -REGAL_NAMESPACE_END - -#endif // __REGAL_DISPATCHER_GL_H__ diff --git a/src/regal/RegalDispatcherGlobal.cpp b/src/regal/RegalDispatcherGlobal.cpp deleted file mode 100644 index 7a735e0..0000000 --- a/src/regal/RegalDispatcherGlobal.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* - Copyright (c) 2011-2013 NVIDIA Corporation - Copyright (c) 2011-2013 Cass Everitt - Copyright (c) 2012-2013 Scott Nations - Copyright (c) 2012 Mathias Schott - Copyright (c) 2012-2013 Nigel Stewart - Copyright (c) 2012-2013 Google Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include "pch.h" /* For MS precompiled header support */ - -#include "RegalUtil.h" - -REGAL_GLOBAL_BEGIN - -#include - -#include "RegalConfig.h" -#include "RegalDispatcherGlobal.h" - -using namespace ::std; - -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - -Dispatch::Global dispatchGlobal; - -void InitDispatchGlobal() { - /* - // initialize in reverse order, starting with the driver - - Loader::Init( dispatchGlobal ); // CGL/GLX/WGL/EGL loader - -#if 0 && REGAL_SYS_EGL && REGAL_STATIC_EGL - InitDispatchTableStaticEGL( dispatchGlobal ); -#endif - -#if REGAL_LOG - InitDispatchTableGlobalLog( dispatchGlobal ); -#endif - -#if REGAL_SYS_GLX && !REGAL_SYS_X11 - InitDispatchTableGlobalGLX( dispatchGlobal ); -#endif - - -#if REGAL_HTTP - InitDispatchTableGlobalHttp( dispatchGlobal ); -#endif - - -#if REGAL_TRACE - { - // have to check this early for the global dispatches, otherwise we'd use Config - getEnv( "REGAL_TRACE", Config::enableTrace); - InitDispatchTableGlobalTrace( dispatchGlobal ); - } -#endif - -*/ -} - - -REGAL_NAMESPACE_END diff --git a/src/regal/RegalDispatcherGlobal.h b/src/regal/RegalDispatcherGlobal.h deleted file mode 100644 index c5f77f4..0000000 --- a/src/regal/RegalDispatcherGlobal.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - Copyright (c) 2011-2013 NVIDIA Corporation - Copyright (c) 2011-2013 Cass Everitt - Copyright (c) 2012-2013 Scott Nations - Copyright (c) 2012 Mathias Schott - Copyright (c) 2012-2013 Nigel Stewart - Copyright (c) 2012-2013 Google Inc. - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef __REGAL_DISPATCHER_GLOBAL_H__ -#define __REGAL_DISPATCHER_GLOBAL_H__ - -#include "RegalUtil.h" - -REGAL_GLOBAL_BEGIN - -#include "RegalDispatcher.h" - -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - -void InitDispatchGlobal(); - -extern Dispatch::Global dispatchGlobal; - -// regaltest needs these declarations too - -#if REGAL_SYS_EGL && REGAL_STATIC_EGL -extern void InitDispatchTableStaticEGL (Dispatch::Global &tbl); -#endif - -extern void InitDispatchTableGlobalHttp (Dispatch::Global &tbl); -extern void InitDispatchTableGlobalLog (Dispatch::Global &tbl); -extern void InitDispatchTableGlobalGLX (Dispatch::Global &tbl); -extern void InitDispatchTableGlobalTrace (Dispatch::Global &tbl); - -namespace Loader { extern void Init(Dispatch::Global &tbl); } -namespace Missing { extern void Init(Dispatch::Global &tbl); } - -REGAL_NAMESPACE_END - -#endif // __REGAL_DISPATCHER_GLOBAL_H__ diff --git a/src/regal/RegalInit.cpp b/src/regal/RegalInit.cpp index 40f8a08..00a6977 100644 --- a/src/regal/RegalInit.cpp +++ b/src/regal/RegalInit.cpp @@ -47,7 +47,6 @@ using namespace std; #include "RegalConfig.h" #include "RegalContext.h" #include "RegalThread.h" -#include "RegalDispatcher.h" #include "RegalContextInfo.h" #include "RegalEmuInfo.h" #include "RegalPpa.h" diff --git a/src/regal/RegalPrint.h b/src/regal/RegalPrint.h index 2e5f8d4..63ed2b4 100644 --- a/src/regal/RegalPrint.h +++ b/src/regal/RegalPrint.h @@ -31,118 +31,61 @@ REGAL_GLOBAL_BEGIN -#define REGAL_USE_BOOST 0 - -#if REGAL_USE_BOOST - -#include -using boost::print::print_string; - -typedef boost::print::string_list StringList; - -#define print_hex( ... ) boost::print::hex( __VA_ARGS__ ) -#define print_quote( ... ) boost::print::quote( __VA_ARGS__ ) -#define print_array( ... ) boost::print::array( __VA_ARGS__ ) -#define print_optional( ... ) boost::print::optional( __VA_ARGS__ ) -#define print_raw( ... ) boost::print::raw( __VA_ARGS__ ) -#define print_trim( ... ) boost::print::trim( __VA_ARGS__ ) -#define print_right( ... ) boost::print::right( __VA_ARGS__ ) -#define print_left( ... ) boost::print::left( __VA_ARGS__ ) - -#define PRINT_STREAM_TYPE int - -#else - -#define PRINT_STREAM_TYPE std::ostringstream - #include #include #define print_string( ... ) ( PrintString(), __VA_ARGS__ ).toString() -#endif - #include REGAL_GLOBAL_END REGAL_NAMESPACE_BEGIN -extern PRINT_STREAM_TYPE printStream; - -#if ! REGAL_USE_BOOST - -inline void AppendBytes( const char * s, int len, char * buf, int capacity, int & sz ) { - int n = std::min( len, capacity - sz - 1 ); - memcpy( buf + sz, s, n ); - sz += n; +inline bool AppendBytes( const char * s, int len, char * buf, int capacity, int & sz ) { + //int n = std::min( len, capacity - sz - 1 ); + if( len > capacity - sz - 1 ) { + return false; + } + memcpy( buf + sz, s, len ); + sz += len; buf[sz] = 0; + return true; } template -inline void AppendString( const T & t, char * buf, int capacity, int & sz ) { - if( (capacity - sz) <= 1 ) { - return; - } - std::ostringstream ps; - ps << t; - const std::string & s = ps.str(); - AppendBytes( s.c_str(), int(s.size()), buf, capacity, sz ); +inline bool AppendString( const T & t, char * buf, int capacity, int & sz ) { + return false; // punt to ostringstream } template -inline void AppendString( T * const t, char * buf, int capacity, int & sz ) { - if( (capacity - sz) <= 1 ) { - return; - } +inline bool AppendString( T * const t, char * buf, int capacity, int & sz ) { char nb[80]; int len = sprintf( nb, "%p", t ); - AppendBytes( nb, len, buf, capacity, sz ); \ + return AppendBytes( nb, len, buf, capacity, sz ); } template <> -inline void AppendString( const char * const s, char * buf, int capacity, int & sz ) { - if( (capacity - sz) <= 1 ) { - return; - } - AppendBytes( s, int(strlen(s)), buf, capacity, sz ); +inline bool AppendString( const char * const s, char * buf, int capacity, int & sz ) { + return AppendBytes( s, int(strlen(s)), buf, capacity, sz ); } template <> -inline void AppendString( const std::string & s, char * buf, int capacity, int & sz ) { - if( (capacity - sz) <= 1 ) { - return; - } +inline bool AppendString( const std::string & s, char * buf, int capacity, int & sz ) { return AppendBytes( s.c_str(), int(s.size()), buf, capacity, sz ); } -/* -template < int N > -inline void AppendString( char const (&s)[N], char * buf, int capacity, int & sz ) { - if( (capacity - sz) <= 1 ) { - return; - } - return AppendBytes( &s[0], N-1, buf, capacity, sz ); -} -*/ - template <> -inline void AppendString( const char & s, char * buf, int capacity, int & sz ) { - if( (capacity - sz) <= 1 ) { - return; - } - AppendBytes( &s, 1, buf, capacity, sz ); +inline bool AppendString( const char & s, char * buf, int capacity, int & sz ) { + return AppendBytes( &s, 1, buf, capacity, sz ); } #define AppendNumber( type, fmt ) \ template <> \ -inline void AppendString( const type & n, char * buf, int capacity, int & sz ) { \ - if( (capacity - sz) <= 1 ) { \ - return; \ - } \ +inline bool AppendString( const type & n, char * buf, int capacity, int & sz ) { \ char nb[80]; \ int len = sprintf( nb, fmt, n ); \ - AppendBytes( nb, len, buf, capacity, sz ); \ + return AppendBytes( nb, len, buf, capacity, sz ); \ } AppendNumber( int, "%d" ) @@ -152,19 +95,36 @@ AppendNumber( unsigned long, "%lu" ) AppendNumber( float, "%f" ) AppendNumber( double, "%lf" ) +template <> +inline bool AppendString( const bool & b, char * buf, int capacity, int & sz ) { + return AppendBytes( b ? "1" : "0", 1, buf, capacity, sz ); +} + + + struct PrintString { - PrintString() : sz(0) { buf[0] = 0; } + PrintString() : useBuf( true ), sz(0) { buf[0] = 0; } template PrintString & operator, ( const T & t ) { - AppendString( t, buf, sizeof( buf ), sz ); + if( useBuf ) { + useBuf = AppendString( t, buf, sizeof( buf ), sz ); + if( ! useBuf ) { + ps << buf << t; + } + } else { + ps << t; + } return *this; } + + bool useBuf; int sz; - char buf[8192]; - std::string toString() { return buf; } + char buf[256]; + std::ostringstream ps; + std::string toString() { return useBuf ? buf : ps.str(); } }; template @@ -263,6 +223,11 @@ inline std::string print_optional( const T & t, bool enable ) { struct StringList { + + StringList() {} + StringList( const std::string & s, char j ) { + split( s, j ); + } std::string join( std::string j ) const { std::string s; @@ -299,17 +264,12 @@ struct StringList { std::vector v; }; - -#endif // ! REGAL_USE_BOOST - REGAL_NAMESPACE_END -#if ! REGAL_USE_BOOST using Regal::PrintString; using Regal::print_hex; using Regal::print_quote; using Regal::print_array; using Regal::print_trim; -#endif #endif // __REGAL_PRINT_H__ diff --git a/src/regal/RegalUtil.cpp b/src/regal/RegalUtil.cpp index b2487d2..c7215b0 100644 --- a/src/regal/RegalUtil.cpp +++ b/src/regal/RegalUtil.cpp @@ -49,8 +49,6 @@ using namespace std; #include #endif -PRINT_STREAM_TYPE Regal::printStream; - // alloca for VC8 #ifdef _MSC_VER diff --git a/tests/RegalDispatchGMock.h b/tests/RegalDispatchGMock.h index ce2d77d..733e820 100644 --- a/tests/RegalDispatchGMock.h +++ b/tests/RegalDispatchGMock.h @@ -53,7 +53,9 @@ REGAL_GLOBAL_END REGAL_NAMESPACE_BEGIN -struct Dispatch::GL; +namespace Dispatch { + struct GL; +} struct RegalGMockInterface { diff --git a/tests/testRegalPpa.cpp b/tests/testRegalPpa.cpp index 030814b..b6dbece 100644 --- a/tests/testRegalPpa.cpp +++ b/tests/testRegalPpa.cpp @@ -102,8 +102,7 @@ TEST( RegalPpa, PushPopAttrib ) ctx.emuInfo->init(*ctx.info.get()); ctx.emuInfo->gl_max_attrib_stack_depth = 16; - Missing::Init( ctx.dispatcher.emulation ); - InitDispatchTableGMock( ctx.dispatcher.emulation ); + //InitDispatchTableGMock( ctx.dispatcher.emulation ); Emu::Ppa ppa; @@ -215,8 +214,9 @@ TEST( RegalPpa, PushPopDepthBufferBit ) ctx.emuInfo->init(*ctx.info.get()); ctx.emuInfo->gl_max_attrib_stack_depth = 16; - Missing::Init( ctx.dispatcher.emulation ); - InitDispatchTableGMock( ctx.dispatcher.emulation ); + // need to initialize dispatch differently now + //Missing::Init( ctx.dispatcher.emulation ); + //InitDispatchTableGMock( ctx.dispatcher.emulation ); Emu::Ppa ppa; diff --git a/tests/testRegalState.cpp b/tests/testRegalState.cpp index 2b971c5..ba62d06 100644 --- a/tests/testRegalState.cpp +++ b/tests/testRegalState.cpp @@ -72,9 +72,8 @@ TEST( RegalStateDepth, SetDispatchesCorrectly ) RegalGMockInterface mock; - DispatchTableGL dt; - ::memset(&dt,0,sizeof(DispatchTableGL)); - dt._enabled = true; + Dispatch::GL dt; + ::memset(&dt,0,sizeof(Dispatch::GL)); InitDispatchTableGMock( dt ); State::Depth depth; @@ -182,9 +181,8 @@ TEST( RegalStateTransform, TransitionSetsStateCorrectly ) { RegalGMockInterface mock; - DispatchTableGL dt; - ::memset(&dt,0,sizeof(DispatchTableGL)); - dt._enabled = true; + Dispatch::GL dt; + ::memset(&dt,0,sizeof(Dispatch::GL)); InitDispatchTableGMock( dt ); // No state difference means no calls are made. diff --git a/tests/testStringList.cpp b/tests/testStringList.cpp deleted file mode 100644 index 81d8a37..0000000 --- a/tests/testStringList.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/* - Copyright (c) 2011-2012 NVIDIA Corporation - Copyright (c) 2011-2012 Cass Everitt - Copyright (c) 2012 Scott Nations - Copyright (c) 2012 Mathias Schott - Copyright (c) 2012 Nigel Stewart - Copyright (c) 2012 Google Inc - All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include "gtest/gtest.h" - -#include - -#include - -#include "boost/print/string_list.hpp" - -namespace { - -typedef ::std::string string; -typedef ::boost::print::string_list< ::std::string > string_list; - -// ==================================== -// boost::print::string_list -// ==================================== - -TEST( StringList, Constructor ) -{ - { - string_list x; - EXPECT_EQ(0u, x.size()); - EXPECT_EQ(0u, x.count()); - } - - // space delimiter - - { - string_list x(string("a b c d e f"),' '); - EXPECT_EQ(6u, x.size()); - EXPECT_EQ(6u, x.count()); - - string_list y(x); - EXPECT_EQ(x.size(), y.size()); - EXPECT_EQ(x.count(), y.count()); -// EXPECT_EQ(x, y); - } - - // . delimiter - - { - string_list x(string("a.b.c.d.e.f"),'.'); - EXPECT_EQ(6u, x.size()); - EXPECT_EQ(6u, x.count()); - } - - // TODO - There ought to be a c-string constructor with delimiter, too - - { - const char *s[5] = { "a", "b", "c", "d", "e" }; - const int l[5] = { 1, 1, 1, -1, -1 }; - string_list x(5,s,l); - EXPECT_EQ(5u, x.size()); - EXPECT_EQ(5u, x.count()); - - EXPECT_EQ(string("abcde"), x.str()); - EXPECT_EQ(string("a b c d e"), x.join(" ")); - } - - { - const char *s[5] = { "A", "B", "C", "D", "E" }; - string_list x(5,s); - EXPECT_EQ(5u, x.size()); - EXPECT_EQ(5u, x.count()); - - EXPECT_EQ(string("ABCDE"), x.str()); - EXPECT_EQ(string("A B C D E"), x.join(" ")); - } - - { - const char *s[5] = { "A\nB\n", "C", "D\nE\n" }; - string_list x(3,s,NULL,'\n'); - EXPECT_EQ(5u, x.size()); - EXPECT_EQ(5u, x.count()); - - EXPECT_EQ(string("ABCDE"), x.str()); - EXPECT_EQ(string("A B C D E"), x.join(" ")); - } -} - -TEST( StringList, Insert ) -{ - { - string_list x(string("a b c d e f"),' '); - EXPECT_EQ(string("a b c d e f"), x.join(" ")); - - x.insert(0,"0"); EXPECT_EQ(string("0 a b c d e f"), x.join(" ")); - x.insert(1,"1"); EXPECT_EQ(string("0 1 a b c d e f"), x.join(" ")); - x.insert(7,"7"); EXPECT_EQ(string("0 1 a b c d e 7 f"), x.join(" ")); - x.insert(9,"9"); EXPECT_EQ(string("0 1 a b c d e 7 f 9"), x.join(" ")); - x.insert(0,3,"x"); EXPECT_EQ(string("x x x 0 1 a b c d e 7 f 9"), x.join(" ")); - x.insert(2,3,"y"); EXPECT_EQ(string("x x y y y x 0 1 a b c d e 7 f 9"), x.join(" ")); - x.insert(6,3,"z"); EXPECT_EQ(string("x x y y y x z z z 0 1 a b c d e 7 f 9"), x.join(" ")); - x.insert(18,3,"-"); EXPECT_EQ(string("x x y y y x z z z 0 1 a b c d e 7 f - - - 9"), x.join(" ")); - x.insert(17,3,"+"); EXPECT_EQ(string("x x y y y x z z z 0 1 a b c d e 7 + + + f - - - 9"), x.join(" ")); - x.insert(16,3,"="); EXPECT_EQ(string("x x y y y x z z z 0 1 a b c d e = = = 7 + + + f - - - 9"), x.join(" ")); - x.insert(14,2,"<"); EXPECT_EQ(string("x x y y y x z z z 0 1 a b c < < d e = = = 7 + + + f - - - 9"), x.join(" ")); - x.insert(14,0,">"); EXPECT_EQ(string("x x y y y x z z z 0 1 a b c < < d e = = = 7 + + + f - - - 9"), x.join(" ")); - } -} - -}