Skip to content

Commit

Permalink
upload working source
Browse files Browse the repository at this point in the history
  • Loading branch information
Erder00 committed Jun 16, 2024
1 parent 8ee0a11 commit 8002f1a
Show file tree
Hide file tree
Showing 3,613 changed files with 686,936 additions and 2 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Auto detect text files and perform LF normalization
* text=auto
*.psd filter=lfs diff=lfs merge=lfs -text
*.ipch filter=lfs diff=lfs merge=lfs -text
Binary file not shown.
Binary file not shown.
Binary file added .vs/Rumbleverse/v15/.suo
Binary file not shown.
Binary file added .vs/Rumbleverse/v15/Browse.VC.db
Binary file not shown.
3 changes: 3 additions & 0 deletions .vs/Rumbleverse/v15/ipch/6ba0e04d4ad1e86b.ipch
Git LFS file not shown
3 changes: 3 additions & 0 deletions .vs/Rumbleverse/v15/ipch/99c359f4a2a8ba4b.ipch
Git LFS file not shown
72 changes: 72 additions & 0 deletions AndOrNot.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "inc.h"

/**
* Does a boolean AND of the ::Value static members of each type, but short-circuits if any Type::Value == false.
*/
template <typename... Types>
struct TAnd;

template <bool LHSValue, typename... RHS>
struct TAndValue
{
enum { Value = TAnd<RHS...>::Value };
};

template <typename... RHS>
struct TAndValue<false, RHS...>
{
enum { Value = false };
};

template <typename LHS, typename... RHS>
struct TAnd<LHS, RHS...> : TAndValue<LHS::Value, RHS...>
{
};

template <>
struct TAnd<>
{
enum { Value = true };
};

/**
* Does a boolean OR of the ::Value static members of each type, but short-circuits if any Type::Value == true.
*/
template <typename... Types>
struct TOr;

template <bool LHSValue, typename... RHS>
struct TOrValue
{
enum { Value = TOr<RHS...>::Value };
};

template <typename... RHS>
struct TOrValue<true, RHS...>
{
enum { Value = true };
};

template <typename LHS, typename... RHS>
struct TOr<LHS, RHS...> : TOrValue<LHS::Value, RHS...>
{
};

template <>
struct TOr<>
{
enum { Value = false };
};

/**
* Does a boolean NOT of the ::Value static members of the type.
*/
template <typename Type>
struct TNot
{
enum { Value = !Type::Value };
};
Loading

0 comments on commit 8002f1a

Please sign in to comment.