windows-nt/Source/XPSP1/NT/ds/security/csps/cryptoflex/slbcsp/maputility.h

24 lines
649 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
// MapUtility.h -- Map utilities
// (c) Copyright Schlumberger Technology Corp., unpublished work, created
// 1999. This computer program includes Confidential, Proprietary
// Information and is a Trade Secret of Schlumberger Technology Corp. All
// use, disclosure, and/or reproduction is prohibited unless authorized
// in writing. All Rights Reserved.
#if !defined(SLBCSP_MAPUTILITY_H)
#define SLBCSP_MAPUTILITY_H
template<class In, class Op>
Op
ForEachMappedValue(In First,
In Last,
Op Proc)
{
while (First != Last)
Proc((*First++).second);
return Proc;
}
#endif // SLBCSP_MAPUTILITY_H