diff --git a/README.md b/README.md
index c0884d6..dc20446 100644
--- a/README.md
+++ b/README.md
@@ -163,12 +163,6 @@ does not properly work on g++ before 4.8
| clang xcode 7.3 | Darwin Kernel 15.5.0 (OSX 10.11.5) |
| clang xcode 8.0 | Darwin Kernel 15.6.0 (OSX 10.11.6) |
-### More
-
-If any issues or bugs are encountered, please raise them through the [Github Issues Page](https://github.com/bitwizeshift/Lazy/issues).
-
-Other than that, this library is licensed under [MIT](#S-license), so feel free to make use of it and enjoy!
-
## License
diff --git a/include/lazy/Lazy.hpp b/include/lazy/Lazy.hpp
index dd344db..776ef8b 100644
--- a/include/lazy/Lazy.hpp
+++ b/include/lazy/Lazy.hpp
@@ -67,11 +67,11 @@ namespace lazy{
//------------------------------------------------------------------------
public:
- using this_type = Lazy;
+ using this_type = Lazy; ///< Instance of this type
- using value_type = T;
- using pointer = T*;
- using reference = T&;
+ using value_type = T; ///< The underlying type of this Lazy
+ using pointer = T*; ///< The pointer type of the Lazy
+ using reference = T&; ///< The reference type of the Lazy
//------------------------------------------------------------------------
// Construction / Destruction / Assignment
diff --git a/include/lazy/detail/lazy_traits.hpp b/include/lazy/detail/lazy_traits.hpp
index bdb0308..60d2482 100644
--- a/include/lazy/detail/lazy_traits.hpp
+++ b/include/lazy/detail/lazy_traits.hpp
@@ -33,18 +33,18 @@ namespace lazy{
using index_sequence = integer_sequence;
/// \brief type-trait helper to build an integer sequence
- template
+ template
struct build_index_sequence
- : public build_index_sequence<0, N - 1, N - 1, Ints...>{};
+ : public build_index_sequence{};
- template
- struct build_index_sequence<0, 0, Ints...>{
+ template
+ struct build_index_sequence{
typedef index_sequence type;
};
/// \brief type-trait helper to build an index sequence from 0 to N
template
- using make_index_sequence = typename build_index_sequence::type;
+ using make_index_sequence = typename build_index_sequence<0,N>::type;
/// \brief type-trait helper to build an index sequence of 0 to Args indices
template
diff --git a/test/unit-casting.cpp b/test/unit-casting.cpp
index d8c356f..da3575b 100644
--- a/test/unit-casting.cpp
+++ b/test/unit-casting.cpp
@@ -38,7 +38,7 @@ TEST_CASE("casting")
SECTION("operator reference()")
{
- SECTION("lazy initialized uninitialized lazy")
+ SECTION("lazy initializes uninitialized lazy")
{ // That's a mouthful
auto lazy_string = lazy::Lazy("hello world");
auto is_initialized_before = lazy_string.is_initialized();
diff --git a/test/unit-constructor.cpp b/test/unit-constructor.cpp
index 1ccb400..5f8bf0b 100644
--- a/test/unit-constructor.cpp
+++ b/test/unit-constructor.cpp
@@ -32,15 +32,15 @@ TEST_CASE("constructors")
{
SECTION("creates an uninitialized lazy object")
{
-// auto create_string = [](){
-// return std::make_tuple("hello world",5);
-// };
-// auto destroy_string = [](std::string& str){
-// // do something
-// };
-// auto lazy_string = lazy::Lazy(create_string,destroy_string);
-//
-// REQUIRE_FALSE( lazy_string.is_initialized() );
+ auto create_string = [](){
+ return std::make_tuple("hello world",5);
+ };
+ auto destroy_string = [](std::string& str){
+ // do something
+ };
+ auto lazy_string = lazy::Lazy(create_string,destroy_string);
+
+ REQUIRE_FALSE( lazy_string.is_initialized() );
}
}
@@ -142,15 +142,15 @@ TEST_CASE("constructors")
{
SECTION("creates an uninitialized lazy object")
{
-// auto create_string = [](){
-// return std::make_tuple("hello world",5);
-// };
-// auto destroy_string = [](const std::string& str){
-// // do something
-// };
-// auto lazy_string = lazy::Lazy(create_string,destroy_string);
-//
-// REQUIRE_FALSE( lazy_string.is_initialized() );
+ auto create_string = [](){
+ return std::make_tuple("hello world",5);
+ };
+ auto destroy_string = [](const std::string& str){
+ // do something
+ };
+ auto lazy_string = lazy::Lazy(create_string,destroy_string);
+
+ REQUIRE_FALSE( lazy_string.is_initialized() );
}
}