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
18 changes: 18 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# How to contribute

Contributions are always very much appreciated. However, to make sure the
process of accepting patches goes smoothly for everyone (especially for
the maintainer), you should try to follow these few simple guidelines when
you contribute:

1. Fork the repository.
2. Create a new branch based on the `master` branch (`git checkout -b your_branch master`).
3. Do your modifications on that branch.
4. Be sure your modifications include:
* Don't break anything (`make`)
* Proper unit/functional tests (`make test`)
5. Commit your changes. Your commit message should reflect your changes.
6. Push the changes to your fork (`git push origin your_branch`).
7. Rebase if necessary to avoid broken commits (`git rebase -i origin/master`).
8. Open a pull request against SML's `master` branch.
I will do my best to respond in a timely manner. I might discuss your patch and suggest some modifications, or I might amend your patch myself and ask you for feedback. You will always be given proper credit.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Expected Behavior

## Actual Behavior

## Steps to Reproduce the Problem

1.
1.
1.

## Specifications

- Version:
- Platform:
- Subsystem:
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Problem:
-

Solution:
-

Issue: #

Reviewers:
@
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Boost].TE <a href="http://www.boost.org/LICENSE_1_0.txt" target="_blank">![Boost Licence](http://img.shields.io/badge/license-boost-blue.svg)</a> <a href="https://travis-ci.org/boost-experimental/te" target="_blank">![Build Status](https://img.shields.io/travis/boost-experimental/te/master.svg?label=linux/osx)</a> <a href="https://codecov.io/gh/boost-experimental/te" target="_blank">![Coveralls](https://codecov.io/gh/boost-experimental/te/branch/master/graph/badge.svg)</a> <a href="https://github.com/boost-experimental/te/issues" target="_blank">![Github Issues](https://img.shields.io/github/issues/boost-experimental/te.svg)</a> <a href="https://godbolt.org/g/8YmMLX">![Try it online](https://img.shields.io/badge/try%20it-online-blue.svg)</a>
# [Boost::ext].TE <a href="http://www.boost.org/LICENSE_1_0.txt" target="_blank">![Boost Licence](http://img.shields.io/badge/license-boost-blue.svg)</a> <a href="https://travis-ci.org/boost-ext/te" target="_blank">![Build Status](https://img.shields.io/travis/boost-ext/te/master.svg?label=linux/osx)</a> <a href="https://codecov.io/gh/boost-ext/te" target="_blank">![Coveralls](https://codecov.io/gh/boost-ext/te/branch/master/graph/badge.svg)</a> <a href="https://github.com/boost-ext/te/issues" target="_blank">![Github Issues](https://img.shields.io/github/issues/boost-ext/te.svg)</a> <a href="https://godbolt.org/g/8YmMLX">![Try it online](https://img.shields.io/badge/try%20it-online-blue.svg)</a>

> Your C++17 **one header only** run-time polymorphism (type erasure) library with no dependencies, macros and limited boilerplate

Expand All @@ -10,7 +10,7 @@

### Quick start

> [Boost].TE requires only one file. Get the latest header [here!](https://github.com/boost-experimental/te/blob/master/include/boost/te.hpp)
> [Boost::ext].TE requires only one file. Get the latest header [here!](https://github.com/boost-ext/te/blob/master/include/boost/te.hpp)

```cpp
#include <boost/te.hpp> // Requires C++17 (Tested: GCC-6+, Clang-4.0+, Apple:Clang-9.1+)
Expand Down Expand Up @@ -346,7 +346,7 @@ int main() {
}
```

#### Inject it ([[Boost].DI](https://github.com/boost-experimental/di))
#### Inject it ([[Boost::ext].DI](https://github.com/boost-ext/di))

```cpp
class Example {
Expand Down Expand Up @@ -395,4 +395,4 @@ int main() {

---

**Disclaimer** `[Boost].TE` is not an official Boost library.
**Disclaimer** `[Boost::ext].TE` is not an official Boost library.
4 changes: 2 additions & 2 deletions include/boost/te.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <type_traits>
#include <utility>

namespace boost::te {
namespace boost::inline ext::te {
inline namespace v1 {
namespace detail {
template <class...>
Expand Down Expand Up @@ -306,7 +306,7 @@ concept bool conceptify = requires {
#endif

} // namespace v1
} // namespace boost::te
} // namespace boost::ext::te

#if not defined(REQUIRES)
#define REQUIRES(R, name, ...) \
Expand Down