This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MAY_BE_HEADER | |
#define MAY_BE_HEADER | |
#include <string.h> | |
#include <memory> | |
#include <assert.h> | |
///для того, что бы удобней было вернуть из функции пустое или дефолтное значение, например | |
/** \code | |
MayBe<Point> f() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MAY_BE_HEADER | |
#define MAY_BE_HEADER | |
#include <string.h> | |
#include <memory> | |
#include <assert.h> | |
///для того, что бы удобней было вернуть из функции пустое или дефолтное значение, например | |
/** \code | |
MayBe<Point> f() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Determine support properties | |
(function( xhr ) { | |
jQuery.extend( jQuery.support, { | |
ajax: !!xhr, | |
cors: !!xhr && ( "withCredentials" in xhr ) | |
}); | |
})( jQuery.ajaxSettings.xhr() ); |
NewerOlder