#include "tensorstore/transaction.h"
friend bool
tensorstore::Transaction::operator==(const Transactiona,
                                     
const Transactionb);
friend bool
tensorstore::Transaction::operator!=(const Transactiona,
                                     
const Transactionb);
friend bool tensorstore::Transaction::operator==(const Transactiona,
                                                 
no_transaction_t b);
friend bool
tensorstore::Transaction::operator==(no_transaction_t a,
                                     
const Transactionb);
friend bool tensorstore::Transaction::operator!=(const Transactiona,
                                                 
no_transaction_t b);
friend bool
tensorstore::Transaction::operator!=(no_transaction_t a,
                                     
const Transactionb);

Checks if a and b refer to the same transaction state, or are both null.