Skip to content

M_CodeJam_Arithmetic_OperatorsFactory_IsFlagSetOperator__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

OperatorsFactory.IsFlagSetOperator(T) Method

Emits code for (value & flag) == flag check.

Namespace: CodeJam.Arithmetic
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Func<T, T, bool> IsFlagSetOperator<T>()

VB

Public Shared Function IsFlagSetOperator(Of T) As Func(Of T, T, Boolean)

F#

static member IsFlagSetOperator : unit -> Func<'T, 'T, bool> 

Type Parameters

 

T
The type of the operands

Return Value

Type: Func(T, T, Boolean)
Callback for (value & flag) == flag check

See Also

Reference

OperatorsFactory Class
CodeJam.Arithmetic Namespace

Clone this wiki locally