This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <cstring> | |
#include <cstdio> | |
#include <algorithm> | |
#include <chrono> | |
#include <iterator> | |
#include <string> | |
#include <vector> | |
#include <fstream> | |
#include <sstream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <fcntl.h> | |
#if defined(__unix__) || defined (__CYGWIN__) | |
#include <unistd.h> | |
#else | |
#include <io.h> | |
#endif | |
#ifndef O_BINARY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Updated for VS2017; Intel compiler support removed | |
REQUIRES CHANGES TO USER PROJECT FILE | |
--> | |
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- | |
lib/native/bin/amd64 dir needs to exist! | |
import just before Microsoft.Cpp.Default.props | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstddef> | |
#include <cstdlib> | |
#include <utility> | |
#include <exception> | |
#include <stdexcept> | |
#include <chrono> | |
#include <string_view> | |
#include <string> | |
#include <unordered_map> | |
#include <vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--insert lvalue no reallocation-- | |
0 | |
1 | |
1 | |
0 | |
1 | |
3 | |
---- | |
--emplace lvalue no reallocation-- | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\ClangC2\14.10.25903\bin\HostX64\clang.exe -c -fdiagnostics-format=msvc -target "amd64-pc-windows-msvc" -I "C:\libs\range-v3\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\ClangC2\14.10.25903\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.24930\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.24930\atlmfc\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\UnitTest\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.2\Include\um;" -g2 -gdwarf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(ascii_ctype, attr_literals, const_fn, iterator_for_each, repr_align)] | |
#![cfg_attr(not(debug_assertions), feature(core_intrinsics))] | |
#![cfg_attr(test, feature(test))] | |
#[macro_use] | |
extern crate lazy_static; | |
extern crate rayon; | |
extern crate simd; | |
#[cfg(test)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
#include <type_traits> | |
#include <utility> | |
#include <optional> | |
#include <string_view> | |
#include <array> | |
#include <vector> | |
#include <boost/container/flat_map.hpp> | |
#include <boost/fusion/include/adapt_struct.hpp> | |
#include <boost/spirit/home/x3/core.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(iter_map_while)] | |
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd)] | |
#[repr(align(2))] | |
pub struct Element([u8; 2]); | |
impl Element { | |
fn as_str(&self) -> &str { | |
let s = if self.0[1] == 0 { &self.0[..1] } else { &self.0 }; | |
unsafe { std::str::from_utf8_unchecked(s) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BOOST_HANA_CONFIG_ENABLE_STRING_UDL 1 | |
#include <type_traits> | |
#include <utility> | |
#include <optional> | |
#include <string_view> | |
#include <array> | |
#include <range/v3/core.hpp> | |
#include <range/v3/algorithm/lower_bound.hpp> | |
#include <boost/hana.hpp> |
OlderNewer