Scripts posted recently tagged to template in Kelpi

1- 10 of 10.

C++ observer pattern implementation

to C++ observer template by jonbaine

#include <iostream>
#include <iterator>
#include <deque>
// Implementation of the observer pattern
// its implemented in the java way :D

Custom template tag to print a link instead of a date string

to template tag templatetag django python by nando.quintana

from django import template
register = template.Library()
@register.tag(name="link_to_date")
def do_link_to_date(parser, token):
    try:

accumulate template

to C++ accumulate template by jonbaine

/*
 *  implementation of the std::accumulate function template. 
 *  you can find other implementation on std::accumulate (this 
 *  one is only for educational purposes)
 *  Author: jonbaine.

SingletonHolder en C++

to C++ singleton template by jonbaine

#include <iostream>
#include <assert.h>

/*
 * Template para implementar un holder de un singelton.

C++ state machine

to template C++ state by jonbaine

/*
 *
 * Maquina de estados , utilizando el patron state y templates
 * Author : Jon Ander Ortiz
 * License: GPLV3 : ^_^

Simple C++ metaprogramming

to C++ template metaprogramming by jonbaine

//
// Example of metaprogramming with C++ 
// of "The Boost C++ Metaprogramming Library"
// 
#include <iostream>

CRTP (Curiously Recursive Template Pattern) implementation

to C++ template recursividad CRTP by jonbaine

/*
*	The Curiously Recurring Template Pattern 
*
*	http://en.wikipedia.org/wiki/Curiously_Recurring_Template_Pattern
*	usefull for instance counting.

Class template to create pool of objects

to C++ template object-pool by jonbaine

/*
*	Author: Jon Ander Ortiz
*	License: GPLV2 or Later
*
*	Brief:

Plantilla de clase que implementa un Smart-Pointer en C++

to C++ template smart-pointer by anonymous

/*
 * PLANTILLA DE CLASE QUE IMPLEMENTA UN SMART POINTER
 * 
 * Author  : Jon Ander Ortiz
 * License: GPLV2 or later

Plantilla de clase para carga dinámica de Objetos en C++

to C++ shared object template by anonymous

/*
 *   PLANTILLA DE CLASE DE CARGA DINÃMICA DE OBJETOS EN C++
 *   -----------------------------------------------------
 *   
 *   Author: Jon Ander Ortiz
hits counter