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
#include <cassert> | |
int main() { | |
assert(true); | |
} |
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
Declare @from date; | |
Declare @initial_state nvarchar(256); | |
Declare @final_state nvarchar(256); | |
Set @from = DATEADD(year,-1,GETDATE()); | |
Set @initial_state = 'Committed'; | |
Set @final_state = 'Done'; | |
With wi As ( | |
Select TeamProjectSK, System_Id, System_State, System_ChangedDate, System_WorkItemType |
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
#include <iostream> | |
#include <sstream> | |
#include <iomanip> | |
#include <iterator> | |
template<typename T, int Width> | |
struct fixed_width_t | |
{ | |
fixed_width_t(T val) : val{ val } {} | |
T val; |
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 MALLOC_UNIQUE_PTR_H | |
#define MALLOC_UNIQUE_PTR_H | |
/* | |
idea borrowed from http://www.codeproject.com/Articles/820931/Using-std-unique-ptr-RAII-with-malloc-and-free | |
*/ | |
#include<memory> | |
template<typename T> |