Skip to content

glanderson42/tuple-impl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tuple header-only implementation with variadic templates

For my c++ practice

'Installation'

#include "tuple.hpp" // just include the header file

Example

#include <iostream>

#include "tuple.hpp"

int main() {
    tpl::tuple<int, std::string, double> tp{10, std::string("hello world"), 2.0};
    std::cout << tpl::get<1>(tp) << std::endl;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages