Skip to content

Instantly share code, notes, and snippets.

@schmee
Created May 25, 2014 14:42
Show Gist options
  • Save schmee/410a322feb694e05cc3f to your computer and use it in GitHub Desktop.
Save schmee/410a322feb694e05cc3f to your computer and use it in GitHub Desktop.
extern crate collections;
use collections::HashMap;
fn main () {
}
static MISSING: uint = 0;
#[deriving(Clone)]
struct CountedSet<T> {
data: HashMap<T, uint>,
missing: &'static uint
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment