Document number: DXXXXR0
Date: 2017-09-19
Reply-to: John McFarlane, cnl@john.mcfarlane.name
Reply-to: Louis Dionne, ldionne.2@gmail.com
Audience: SG6, SG14, LEWG
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 <functional> | |
#include <memory> | |
#include <stdlib.h> | |
#if defined(USE_ALTERNATIVE) | |
template<class FunctionSignature> | |
class function; | |
template<class Result, class...Args> |
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
// Copyright John McFarlane 2017. | |
// 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) | |
// mechanically retrieved, single-header version of CNL library | |
// https://github.com/johnmcfarlane/cnl | |
#if ! defined(CNL_COMPLETE_H) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Title</title> | |
<meta charset="utf-8"> | |
<style> | |
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz); | |
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); |
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 <cnl/fixed_point.h> | |
#include <array> | |
using namespace cnl; | |
using namespace std; | |
constexpr int mandelbrot(float f_x, float f_y, int const limit) { | |
using scalar = fixed_point<int64_t, -28>; | |
auto c_x = scalar{f_x}; | |
auto c_y = scalar{f_y}; |
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
# Uncrustify-0.65-153-37c30cf5 | |
newlines = lf | |
output_tab_size = 17 | |
string_replace_tab_chars = true | |
sp_assign = remove | |
sp_compare = force | |
sp_paren_paren = force | |
sp_after_ptr_star = force | |
sp_ptr_star_paren = remove | |
sp_before_byref_func = add |
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
// Copyright John McFarlane 2017. | |
// 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) | |
// mechanically retrieved, single-header version of CNL library | |
// https://github.com/johnmcfarlane/cnl | |
#if ! defined(CNL_COMPLETE_H) |
(Line 1) Line with double space
(Line 2) Line with backslash
(Line 3) Line without either
(Line 4) and continuation of previous line
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
#ifndef DATE_H | |
#define DATE_H | |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2015, 2016, 2017 Howard Hinnant | |
// Copyright (c) 2016 Adrian Colomitchi | |
// Copyright (c) 2017 Florian Dang | |
// Copyright (c) 2017 Paul Thompson | |
// |