27#ifndef CASA_BINARYSEARCH_H
28#define CASA_BINARYSEARCH_H
31#include <casacore/casa/aips.h>
140template<
class Container,
class ElType>
144template<
class Container,
class ElType>
153#ifndef CASACORE_NO_AUTO_TEMPLATES
154#include <casacore/casa/Utilities/BinarySearch.tcc>
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
Int binarySearch(Bool &found, const Container &container, const ElType &value, uInt n, Int lower=0)
Search container for value.
Int binarySearchBrackets(Bool &found, const Container &container, const ElType &value, uInt n, Int lower=0)
This version of the function is for containers that use [] for indexing.