Skip to content

Commit

Permalink
chore: release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihaoy committed Aug 13, 2022
1 parent 31e6d8f commit 8940c83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ elseif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
message(WARNING "No CMAKE_BUILD_TYPE is selected")
endif()

project(nontype_functional VERSION 0.9.0 LANGUAGES CXX)
project(nontype_functional VERSION 1.0.0 LANGUAGES CXX)

if(NOT DEFINED PROJECT_IS_TOP_LEVEL)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Feels like creating a member function for `FILE` on the fly, isn't it?

- [x] 0.8 – `std::function_ref` & `std::function`
- [x] 0.9 – `std::move_only_function`
- [ ] 1.0 – `nontype_t` constructors for `move_only_function`
- [x] 1.0 – `nontype_t` constructors for `move_only_function`
- [ ] 1.1 – Support C++20 modules


Expand All @@ -112,8 +112,8 @@ Feels like creating a member function for `FILE` on the fly, isn't it?
cppreference page for [`std::function`](https://en.cppreference.com/w/cpp/utility/functional/function)
<br/>
cppreference page for [`std::move_only_function`](https://en.cppreference.com/w/cpp/utility/functional/move_only_function)

The documentation for `std::function_ref` is coming.
<br/>
[`std::function_ref`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0792r10.html#Wording) specification


[^1]: Except for `std::function`'s `target()` member function, which is unimplemented because it requires RTTI.
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.14)
project(std23-functional-examples CXX)

find_package(nontype_functional 0.7 CONFIG)
find_package(nontype_functional 1.0 CONFIG)

add_library(examples OBJECT)
target_sources(examples PRIVATE
Expand Down

0 comments on commit 8940c83

Please sign in to comment.