ei_meta_sqrt< Y, InfX, SupX, Done > Class Template Reference

#include <Meta.h>

List of all members.

Public Types

enum  { ret = ei_meta_sqrt<Y, NewInf = int(TakeInf) ? InfX : int(MidX), ret = ei_meta_sqrt<Y }

Private Types

enum  { MidX = (InfX+SupX)/2, TakeInf = MidX*MidX > Y ? 1 : 0, NewInf = int(TakeInf) ? InfX : int(MidX), NewSup = int(TakeInf) ? int(MidX) : SupX }

Detailed Description

template<int Y, int InfX = 0, int SupX = ((Y==1) ? 1 : Y/2), bool Done = ((SupX-InfX)<=1 ? true : ((SupX*SupX <= Y) && ((SupX+1)*(SupX+1) > Y)))>
class ei_meta_sqrt< Y, InfX, SupX, Done >

Definition at line 134 of file Meta.h.


Member Enumeration Documentation

template<int Y, int InfX = 0, int SupX = ((Y==1) ? 1 : Y/2), bool Done = ((SupX-InfX)<=1 ? true : ((SupX*SupX <= Y) && ((SupX+1)*(SupX+1) > Y)))>
anonymous enum [private]
Enumerator:
MidX 
TakeInf 
NewInf 
NewSup 

Definition at line 136 of file Meta.h.

template<int Y, int InfX = 0, int SupX = ((Y==1) ? 1 : Y/2), bool Done = ((SupX-InfX)<=1 ? true : ((SupX*SupX <= Y) && ((SupX+1)*(SupX+1) > Y)))>
anonymous enum
Enumerator:
ret 
NewInf 
ret 

Definition at line 143 of file Meta.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:01 2013