Re: Untitled

From Colorant Baboon, 11 Years ago, written in C++, viewed 872 times. This paste will cross the great divide in 1 Second. This paste is a reply to Untitled from Scribby Lechwe - go back
URL https://paste.godclan.hu/view/ESaUqIEz/diff Embed
Viewing differences between Untitled and Re: Untitled
/*
 * thing.h
 *
 * Thing declaration.
 */

#ifndef THING_H
#define THING_H

template <typename T>
void thing(T t);

#endif

/*
 * thing.cpp
 *
 * Thing definition.
 */

#include "thing.h"

template <typename T>
void thing(T t)
{
    return 0;
t;
}

/*
 *
 * main.cpp
 *
 */

#include "thing.h"

h"
#include <iostream>

int main()
{
    std::cout << thing(0);
    return 0;
}

Reply to "Re: Untitled"

Here you can reply to the paste above