MercuryVector.h File Reference

#include "global.h"
#include <malloc.h>
#include <string.h>
#include "MercuryUtil.h"
#include <stdio.h>

Go to the source code of this file.


class  MVector< T >
class  MDequeNode< T >
class  MDequeIterator< T >
 Itearator for MDeque. More...
class  MDeque< T >
class  MHash< T >
 Mercury Hash Table for Strings. More...
struct  MHash< T >::MHashNode< TC >


int GetAPrime (int ith)
 Redefinition of function from MercuryUtil.h.

Function Documentation

int GetAPrime ( int  ith  ) 

Redefinition of function from MercuryUtil.h.

Return a prime number. Note this is NOT sequential. The general(but not guarenteed) pattern is the next prime number that's roughly two times the last.

Definition at line 218 of file MercuryUtil.cpp.

Hosted by Logo