Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# CMakeLists.txt -*-CMake-*-
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

cmake_minimum_required(VERSION 3.10)

project(beman_iter_interface VERSION 0.0.0 LANGUAGES CXX)
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#! /usr/bin/make -f
# -*-makefile-*-
# /Makefile -*-makefile-*-
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

INSTALL_PREFIX?=.install/
PROJECT?=$(shell basename $(CURDIR))
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# beman.iterator\_interface: iterator creation mechanisms

<!--
SPDX-License-Identifier: 2.0 license with LLVM exceptions
-->

**Implements**:
* [`std::iterator_interface` (P2727)](https://wg21.link/P2727)
Expand Down
4 changes: 4 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# examples/CMakeLists.txt -*-CMake-*-
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

include(GNUInstallDirs)

# List of all buildable examples.
Expand Down
4 changes: 4 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Beman.iterator Examples

<!--
SPDX-License-Identifier: 2.0 license with LLVM exceptions
-->

List of usage examples for `Beman.iterator`.

## Sample
Expand Down
3 changes: 3 additions & 0 deletions examples/sample.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// examples/sample.cpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <beman/iterator_interface/iterator_interface.hpp>
#include <iostream>

Expand Down
3 changes: 3 additions & 0 deletions include/beman/iterator_interface/config.hpp.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// include/beman/iterator_interface/config.hpp.in -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#ifndef BEMAN_ITERATOR_INTERFACE_CONFIG_HPP
#define BEMAN_ITERATOR_INTERFACE_CONFIG_HPP

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// include/beman/iterator_interface/detail/stl_interfaces/config.hpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// Copyright (C) 2020 T. Zachary Laine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// include/beman/iterator_interface/detail/stl_interfaces/fwd.hpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// Copyright (C) 2019 T. Zachary Laine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// include/beman/iterator_interface/detail/stl_interfaces/iterator_interface.hpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// Copyright (C) 2019 T. Zachary Laine
Expand Down
4 changes: 3 additions & 1 deletion include/beman/iterator_interface/iterator_interface.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// iterator_interface.hpp -*-C++-*-
// include/beman/iterator_interface/iterator_interface.hpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#ifndef INCLUDED_ITERATOR_INTERFACE
#define INCLUDED_ITERATOR_INTERFACE

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// include/beman/iterator_interface/iterator_interface_access.hpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#ifndef ITERATOR_INTERFACE_ACCESSS_HPP
#define ITERATOR_INTERFACE_ACCESSS_HPP

Expand Down
4 changes: 4 additions & 0 deletions src/beman/iterator_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# src/beman/iterator_interface/CMakeLists.txt -*-CMake-*-
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

add_library(beman.iterator_interface)
add_library(beman::iterator_interface ALIAS beman.iterator_interface)

Expand Down
3 changes: 3 additions & 0 deletions src/beman/iterator_interface/iterator_interface.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// src/beman/iterator_interface/iterator_interface.cpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <beman/iterator_interface/iterator_interface.hpp>
4 changes: 3 additions & 1 deletion src/beman/iterator_interface/iterator_interface.t.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// iterator_interface.t.cpp -*-C++-*-
// src/beman/iterator_interface/iterator_interface.y.cpp -*-C++-*-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <beman/iterator_interface/iterator_interface.hpp>
#include <beman/iterator_interface/iterator_interface.hpp>

Expand Down
Loading